projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
346e15b
)
driver core: make struct platform_pm_ops static
author
Adrian Bunk
<bunk@kernel.org>
Mon, 21 Jul 2008 19:33:36 +0000
(22:33 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 16 Oct 2008 16:24:47 +0000
(09:24 -0700)
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>
drivers/base/platform.c
patch
|
blob
|
history
diff --git
a/drivers/base/platform.c
b/drivers/base/platform.c
index 3f940393d6c7904cdd68a5db804a3c0365ac696a..e621dade7eaa1dae63fec357aaa94fe661573222 100644
(file)
--- a/
drivers/base/platform.c
+++ b/
drivers/base/platform.c
@@
-862,7
+862,7
@@
static int platform_pm_restore_noirq(struct device *dev)
#endif /* !CONFIG_HIBERNATION */
-struct pm_ext_ops platform_pm_ops = {
+st
atic st
ruct pm_ext_ops platform_pm_ops = {
.base = {
.prepare = platform_pm_prepare,
.complete = platform_pm_complete,