From: Mauro Carvalho Chehab Date: Tue, 23 Sep 2014 20:05:02 +0000 (-0300) Subject: [media] pt3: make pt3_pm_ops() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=49310ed0ab8da344dece4a543bfcdd14490ccfa0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [media] pt3: make pt3_pm_ops() static drivers/media/pci/pt3/pt3.c:862:1: warning: symbol 'pt3_pm_ops' was not declared. Should it be static? Cc: Akihiro Tsukada Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/pt3/pt3.c b/drivers/media/pci/pt3/pt3.c index 206ede0719b0..90f86ce7a001 100644 --- a/drivers/media/pci/pt3/pt3.c +++ b/drivers/media/pci/pt3/pt3.c @@ -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,