Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irda: fix smsc-ircc2 section mismatch warning

Fix section mismatch warning:

WARNING: drivers/net/irda/smsc-ircc2.o(.devinit.text+0x1a7): Section mismatch in reference from the function smsc_ircc_pnp_probe() to the function .init.text:smsc_ircc_open()

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Randy Dunlap and committed by
David S. Miller
f470e5ae b7f080cf

+1 -1
+1 -1
drivers/net/irda/smsc-ircc2.c
··· 516 516 * Try to open driver instance 517 517 * 518 518 */ 519 - static int __init smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq) 519 + static int __devinit smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq) 520 520 { 521 521 struct smsc_ircc_cb *self; 522 522 struct net_device *dev;