mtd: r852: make r852_pm_ops static
Subsystems (2)
PATCH 1/1 mtd: r852: make r852_pm_ops static
It is not used outside this driver so no need to make the symbol global.
Signed-off-by Axel Lin <[email protected]>
--- drivers/mtd/nand/r852.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/r852.c +1 -1
@@ -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 ,
Signature · 1 line
1.7.4.1