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:
parent
346e15beb5
commit
ec748fa9ed
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue