diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-01-23 00:39:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:05:26 -0500 |
commit | a999337b49fcdd2c4a475e97e4b8337ebdfa4abf (patch) | |
tree | d654da68ae8e7262f5cfd50f94af7f8724638523 /drivers/media | |
parent | 386900781205d203c1141d3e2dae759f1b531193 (diff) |
V4L/DVB (7078): radio: fix sf16fmi section mismatch
isapnp_fmi_probe() is only called by fmi_init(), which is __init,
so isapnp_fmi_probe() can also be __init.
media/radio/radio-sf16fmi.c:
WARNING: vmlinux.o(.text+0x994e19): Section mismatch: reference to .init.data: (between 'isapnp_fmi_probe' and 'vidioc_s_tuner')
WARNING: vmlinux.o(.text+0x994e22): Section mismatch: reference to .init.data: (between 'isapnp_fmi_probe' and 'vidioc_s_tuner')
WARNING: vmlinux.o(.text+0x994e3a): Section mismatch: reference to .init.data:id_table (between 'isapnp_fmi_probe' and 'vidioc_s_tuner')
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/radio/radio-sf16fmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-sf16fmi.c b/drivers/media/radio/radio-sf16fmi.c index 395165367f37..3118bdab3183 100644 --- a/drivers/media/radio/radio-sf16fmi.c +++ b/drivers/media/radio/radio-sf16fmi.c | |||
@@ -321,7 +321,7 @@ static struct isapnp_device_id id_table[] __devinitdata = { | |||
321 | 321 | ||
322 | MODULE_DEVICE_TABLE(isapnp, id_table); | 322 | MODULE_DEVICE_TABLE(isapnp, id_table); |
323 | 323 | ||
324 | static int isapnp_fmi_probe(void) | 324 | static int __init isapnp_fmi_probe(void) |
325 | { | 325 | { |
326 | int i = 0; | 326 | int i = 0; |
327 | 327 | ||