mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
Merge branch 'viafb-next' of git://github.com/schandinat/linux-2.6
This commit is contained in:
commit
dc7c0b6a6d
5 changed files with 153 additions and 23 deletions
|
@ -59,6 +59,21 @@ struct via_port_cfg {
|
|||
u8 ioport_index;
|
||||
};
|
||||
|
||||
/*
|
||||
* Allow subdevs to register suspend/resume hooks.
|
||||
*/
|
||||
#ifdef CONFIG_PM
|
||||
struct viafb_pm_hooks {
|
||||
struct list_head list;
|
||||
int (*suspend)(void *private);
|
||||
int (*resume)(void *private);
|
||||
void *private;
|
||||
};
|
||||
|
||||
void viafb_pm_register(struct viafb_pm_hooks *hooks);
|
||||
void viafb_pm_unregister(struct viafb_pm_hooks *hooks);
|
||||
#endif /* CONFIG_PM */
|
||||
|
||||
/*
|
||||
* This is the global viafb "device" containing stuff needed by
|
||||
* all subdevs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue