diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-06-21 20:32:53 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 11:40:20 -0700 |
commit | bfa826f82f1383593e18ad180eb816221627a917 (patch) | |
tree | 2f9891ce599c67408c3d61634e5d820a9d5d5f91 /drivers/net/irda | |
parent | 7c0e1afbe36ec6d067638daafe6e7ee30085202b (diff) | |
download | kernel_samsung_espresso10-bfa826f82f1383593e18ad180eb816221627a917.zip kernel_samsung_espresso10-bfa826f82f1383593e18ad180eb816221627a917.tar.gz kernel_samsung_espresso10-bfa826f82f1383593e18ad180eb816221627a917.tar.bz2 |
irda: fix smsc-ircc2 section mismatch warning
commit f470e5ae34d68880a38aa79ee5c102ebc2a1aef6 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/irda')
-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 8800e1f..6a4826a 100644 --- a/drivers/net/irda/smsc-ircc2.c +++ b/drivers/net/irda/smsc-ircc2.c @@ -515,7 +515,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; |