diff options
author | Simon Horman | 2011-01-13 02:29:21 +0100 |
---|---|---|
committer | Simon Horman | 2011-01-13 02:29:21 +0100 |
commit | fee1cc0895fd7bde875a86bbc3a1e82089e540b8 (patch) | |
tree | df0a07a650229fd7aa775ca6c20a8d2939c96e72 /include/linux/via-core.h | |
parent | netfilter: fix compilation when conntrack is disabled but tproxy is enabled (diff) | |
parent | Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/... (diff) | |
download | kernel-qcow2-linux-fee1cc0895fd7bde875a86bbc3a1e82089e540b8.tar.gz kernel-qcow2-linux-fee1cc0895fd7bde875a86bbc3a1e82089e540b8.tar.xz kernel-qcow2-linux-fee1cc0895fd7bde875a86bbc3a1e82089e540b8.zip |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 into HEAD
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 { }; /* + * 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. */ |