driver core: make struct platform_pm_ops static

This patch makes the needlessly global struct platform_pm_ops static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Adrian Bunk 2008-07-21 22:33:36 +03:00 committed by Greg Kroah-Hartman
parent 346e15beb5
commit ec748fa9ed

View file

@ -862,7 +862,7 @@ static int platform_pm_restore_noirq(struct device *dev)
#endif /* !CONFIG_HIBERNATION */ #endif /* !CONFIG_HIBERNATION */
struct pm_ext_ops platform_pm_ops = { static struct pm_ext_ops platform_pm_ops = {
.base = { .base = {
.prepare = platform_pm_prepare, .prepare = platform_pm_prepare,
.complete = platform_pm_complete, .complete = platform_pm_complete,