lkml.org 
[lkml]   [2011]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] memstick: make r592_pm_ops static
From
Date
It is not used outside this driver so no need to make the symbol global.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/memstick/host/r592.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/memstick/host/r592.c b/drivers/memstick/host/r592.c
index 668f5c6..00c1b2d 100644
--- a/drivers/memstick/host/r592.c
+++ b/drivers/memstick/host/r592.c
@@ -870,7 +870,7 @@ static int r592_resume(struct device *core_dev)
return 0;
}

-SIMPLE_DEV_PM_OPS(r592_pm_ops, r592_suspend, r592_resume);
+static SIMPLE_DEV_PM_OPS(r592_pm_ops, r592_suspend, r592_resume);
#endif

MODULE_DEVICE_TABLE(pci, r592_pci_id_tbl);
--
1.7.4.1




\
 
 \ /
  Last update: 2011-09-26 04:01    [W:0.028 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site