* [PATCH] mtd: r852: make r852_pm_ops static
@ 2011-09-26 2:01 Axel Lin
0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2011-09-26 2:01 UTC (permalink / raw)
To: linux-kernel; +Cc: Maxim Levitsky, Artem Bityutskiy, David Woodhouse, linux-mtd
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/mtd/nand/r852.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c
index cae2e01..e33585c 100644
--- a/drivers/mtd/nand/r852.c
+++ b/drivers/mtd/nand/r852.c
@@ -1092,7 +1092,7 @@ static const struct pci_device_id r852_pci_id_tbl[] = {
MODULE_DEVICE_TABLE(pci, r852_pci_id_tbl);
-SIMPLE_DEV_PM_OPS(r852_pm_ops, r852_suspend, r852_resume);
+static SIMPLE_DEV_PM_OPS(r852_pm_ops, r852_suspend, r852_resume);
static struct pci_driver r852_pci_driver = {
.name = DRV_NAME,
--
1.7.4.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-26 2:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-26 2:01 [PATCH] mtd: r852: make r852_pm_ops static Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox