diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-11-10 12:04:41 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-10 12:04:41 +0900 |
commit | dc7c0b6a6d28b0de231728de963ed53a9cee85cf (patch) | |
tree | e7d4deeaba1ea8f905f1bb2be42cc47b4441eb97 /include/linux/via-core.h | |
parent | d6ff7d0fe22cdf3ea41c48b50da9a9181500d1bf (diff) | |
parent | b884a94ed16d1a633e76f80fb1bd75d0e7373ce3 (diff) | |
download | kernel_samsung_crespo-dc7c0b6a6d28b0de231728de963ed53a9cee85cf.zip kernel_samsung_crespo-dc7c0b6a6d28b0de231728de963ed53a9cee85cf.tar.gz kernel_samsung_crespo-dc7c0b6a6d28b0de231728de963ed53a9cee85cf.tar.bz2 |
Merge branch 'viafb-next' of git://github.com/schandinat/linux-2.6
Diffstat (limited to 'include/linux/via-core.h')
-rw-r--r-- | include/linux/via-core.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/via-core.h b/include/linux/via-core.h index 38bffd8..9c21cdf 100644 --- a/include/linux/via-core.h +++ b/include/linux/via-core.h @@ -60,6 +60,21 @@ struct via_port_cfg { }; /* + * 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. */ |