diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-06-22 05:32:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-22 05:32:53 +0200 |
commit | f470e5ae34d68880a38aa79ee5c102ebc2a1aef6 (patch) | |
tree | b76a3c25811381b2d18713133ea9c1dbd3d0ac92 /drivers/net | |
parent | net: remove mm.h inclusion from netdevice.h (diff) | |
download | linux-f470e5ae34d68880a38aa79ee5c102ebc2a1aef6.tar.xz linux-f470e5ae34d68880a38aa79ee5c102ebc2a1aef6.zip |
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/irda/smsc-ircc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c index d5072af81b2d..954f6e938fb7 100644 --- a/drivers/net/irda/smsc-ircc2.c +++ b/drivers/net/irda/smsc-ircc2.c @@ -516,7 +516,7 @@ static const struct net_device_ops smsc_ircc_netdev_ops = { * Try to open driver instance * */ -static int __init smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq) +static int __devinit smsc_ircc_open(unsigned int fir_base, unsigned int sir_base, u8 dma, u8 irq) { struct smsc_ircc_cb *self; struct net_device *dev; |