Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f470e5ae authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b7f080cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -516,7 +516,7 @@ static const struct net_device_ops smsc_ircc_netdev_ops = {
 *    Try to open driver instance
 *    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 smsc_ircc_cb *self;
	struct net_device *dev;
	struct net_device *dev;