[media] pt3: make pt3_pm_ops() static
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 20:05:02 +0000 (17:05 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 21:47:17 +0000 (18:47 -0300)
drivers/media/pci/pt3/pt3.c:862:1: warning: symbol 'pt3_pm_ops' was not declared. Should it be static?

Cc: Akihiro Tsukada <tskd08@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/pt3/pt3.c

index 206ede0719b0e891f19550d65c68ae88496dafa7..90f86ce7a0012544548e8bf182c16f3c5358d449 100644 (file)
@@ -859,7 +859,7 @@ static const struct pci_device_id pt3_id_table[] = {
 };
 MODULE_DEVICE_TABLE(pci, pt3_id_table);
 
-SIMPLE_DEV_PM_OPS(pt3_pm_ops, pt3_suspend, pt3_resume);
+static SIMPLE_DEV_PM_OPS(pt3_pm_ops, pt3_suspend, pt3_resume);
 
 static struct pci_driver pt3_driver = {
        .name           = DRV_NAME,