pda_power: Add function callbacks for suspend and resume
Add function prototypes for power management events so they can be handled and used by platform implementations. Signed-off-by: Daniel Mack <daniel@caiaq.de> Cc: Dmitry Baryshkov <dbaryshkov@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
This commit is contained in:
committed by
Anton Vorontsov
parent
b5874f33bb
commit
a3bcbbee83
@@ -24,6 +24,8 @@ struct pda_power_pdata {
|
||||
int (*is_usb_online)(void);
|
||||
void (*set_charge)(int flags);
|
||||
void (*exit)(struct device *dev);
|
||||
int (*suspend)(pm_message_t state);
|
||||
int (*resume)(void);
|
||||
|
||||
char **supplied_to;
|
||||
size_t num_supplicants;
|
||||
|
||||
Reference in New Issue
Block a user