Writing Device Drivers

Power Management Additions to the State Structure

This chapter adds the following fields to the state structure. See "Software State Management" for more information.

	struct xx_saved_device_state  device_state;
 	int xx_suspended;					/* suspended for system power management */
 	int xx_pm_suspended;			/* suspended for device power management */
 	int xx_power_level[num_components]; /* component power level */