diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-11-09 22:04:41 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-09 22:04:41 -0500 |
commit | dc7c0b6a6d28b0de231728de963ed53a9cee85cf (patch) | |
tree | e7d4deeaba1ea8f905f1bb2be42cc47b4441eb97 /include/linux/via-core.h | |
parent | d6ff7d0fe22cdf3ea41c48b50da9a9181500d1bf (diff) | |
parent | b884a94ed16d1a633e76f80fb1bd75d0e7373ce3 (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.h | 15 |
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 | ||
66 | struct viafb_pm_hooks { | ||
67 | struct list_head list; | ||
68 | int (*suspend)(void *private); | ||
69 | int (*resume)(void *private); | ||
70 | void *private; | ||
71 | }; | ||
72 | |||
73 | void viafb_pm_register(struct viafb_pm_hooks *hooks); | ||
74 | void 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 | */ |