diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-24 14:44:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-26 05:47:56 -0400 |
commit | 25fb62b61bc5485a95988d3ecfd672b48f4bf6e2 (patch) | |
tree | 66843a07e8d86879c8187485716a61e9003c19bf /drivers/media | |
parent | 24c8f11f8bce5a959d04f887179b0f1ec43e1c33 (diff) |
[media] radio-sf16fmr2: declare some structs as static
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/radio/radio-sf16fmr2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c index 93d864eb8306..b8d61cbc18cb 100644 --- a/drivers/media/radio/radio-sf16fmr2.c +++ b/drivers/media/radio/radio-sf16fmr2.c | |||
@@ -305,7 +305,7 @@ static void fmr2_pnp_remove(struct pnp_dev *pdev) | |||
305 | pnp_set_drvdata(pdev, NULL); | 305 | pnp_set_drvdata(pdev, NULL); |
306 | } | 306 | } |
307 | 307 | ||
308 | struct isa_driver fmr2_isa_driver = { | 308 | static struct isa_driver fmr2_isa_driver = { |
309 | .match = fmr2_isa_match, | 309 | .match = fmr2_isa_match, |
310 | .remove = fmr2_isa_remove, | 310 | .remove = fmr2_isa_remove, |
311 | .driver = { | 311 | .driver = { |
@@ -313,7 +313,7 @@ struct isa_driver fmr2_isa_driver = { | |||
313 | }, | 313 | }, |
314 | }; | 314 | }; |
315 | 315 | ||
316 | struct pnp_driver fmr2_pnp_driver = { | 316 | static struct pnp_driver fmr2_pnp_driver = { |
317 | .name = "radio-sf16fmr2", | 317 | .name = "radio-sf16fmr2", |
318 | .id_table = fmr2_pnp_ids, | 318 | .id_table = fmr2_pnp_ids, |
319 | .probe = fmr2_pnp_probe, | 319 | .probe = fmr2_pnp_probe, |