]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] radio-sf16fmr2: declare some structs as static
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 24 Sep 2014 18:44:08 +0000 (15:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 26 Sep 2014 09:47:56 +0000 (06:47 -0300)
drivers/media/radio/radio-sf16fmr2.c:308:19: warning: symbol 'fmr2_isa_driver' was not declared. Should it be static?
drivers/media/radio/radio-sf16fmr2.c:316:19: warning: symbol 'fmr2_pnp_driver' was not declared. Should it be static?

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/radio/radio-sf16fmr2.c

index 93d864eb830627898c82d3d33416466819ee5c76..b8d61cbc18cb5d7b9c2dd902c2900c32c399cf1a 100644 (file)
@@ -305,7 +305,7 @@ static void fmr2_pnp_remove(struct pnp_dev *pdev)
        pnp_set_drvdata(pdev, NULL);
 }
 
-struct isa_driver fmr2_isa_driver = {
+static struct isa_driver fmr2_isa_driver = {
        .match          = fmr2_isa_match,
        .remove         = fmr2_isa_remove,
        .driver         = {
@@ -313,7 +313,7 @@ struct isa_driver fmr2_isa_driver = {
        },
 };
 
-struct pnp_driver fmr2_pnp_driver = {
+static struct pnp_driver fmr2_pnp_driver = {
        .name           = "radio-sf16fmr2",
        .id_table       = fmr2_pnp_ids,
        .probe          = fmr2_pnp_probe,