Skip to content

Commit a999337

Browse files
rddunlapmchehab
authored andcommitted
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 <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 3869007 commit a999337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/radio/radio-sf16fmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ static struct isapnp_device_id id_table[] __devinitdata = {
321321

322322
MODULE_DEVICE_TABLE(isapnp, id_table);
323323

324-
static int isapnp_fmi_probe(void)
324+
static int __init isapnp_fmi_probe(void)
325325
{
326326
int i = 0;
327327

0 commit comments

Comments
 (0)