Skip to content

Commit

Permalink
V4L/DVB (7078): radio: fix sf16fmi section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 3869007 commit a999337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/radio/radio-sf16fmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static struct isapnp_device_id id_table[] __devinitdata = {

MODULE_DEVICE_TABLE(isapnp, id_table);

static int isapnp_fmi_probe(void)
static int __init isapnp_fmi_probe(void)
{
int i = 0;

Expand Down

0 comments on commit a999337

Please sign in to comment.