netdev: smsc911x: add missing __devexit_p() usage
authorMike Frysinger <vapier@gentoo.org>
Fri, 5 Jun 2009 14:37:20 +0000 (14:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jun 2009 07:09:44 +0000 (00:09 -0700)
commitdf911e2dc4c59e259b65c502fe0679ade309b575
tree56f421382eb957fee121a225f413f6f48e9a198a
parent1993f46739a9600ecdbbaa1ce56d25f6fdc44472
netdev: smsc911x: add missing __devexit_p() usage

The smsc911x_drv_remove() function is declared with __devexit, so the
assignment to the driver structure needs __devexit_p() wrappings to prevent
build failure when hotplug is disabled.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c