aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/via-core.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2010-11-09 22:04:41 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-11-09 22:04:41 -0500
commitdc7c0b6a6d28b0de231728de963ed53a9cee85cf (patch)
treee7d4deeaba1ea8f905f1bb2be42cc47b4441eb97 /include/linux/via-core.h
parentd6ff7d0fe22cdf3ea41c48b50da9a9181500d1bf (diff)
parentb884a94ed16d1a633e76f80fb1bd75d0e7373ce3 (diff)
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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/via-core.h b/include/linux/via-core.h
index 38bffd8ccca5..9c21cdf3e3b3 100644
--- a/include/linux/via-core.h
+++ b/include/linux/via-core.h
@@ -60,6 +60,21 @@ struct via_port_cfg {
60}; 60};
61 61
62/* 62/*
63 * Allow subdevs to register suspend/resume hooks.
64 */
65#ifdef CONFIG_PM
66struct viafb_pm_hooks {
67 struct list_head list;
68 int (*suspend)(void *private);
69 int (*resume)(void *private);
70 void *private;
71};
72
73void viafb_pm_register(struct viafb_pm_hooks *hooks);
74void viafb_pm_unregister(struct viafb_pm_hooks *hooks);
75#endif /* CONFIG_PM */
76
77/*
63 * This is the global viafb "device" containing stuff needed by 78 * This is the global viafb "device" containing stuff needed by
64 * all subdevs. 79 * all subdevs.
65 */ 80 */