Patchwork mtd: r852: make r852_pm_ops static

login
register
mail settings
Submitter Axel Lin
Date Sept. 26, 2011, 2:01 a.m.
Message ID <1317002484.5991.1.camel@phoenix>
Download mbox | patch
Permalink /patch/116344/
State New
Headers show

Comments

Axel Lin - Sept. 26, 2011, 2:01 a.m.
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(-)

Patch

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,