diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index 3cff84078a9ec8e5274e0d0d7c9c501981857ceb..b60639bd181b998738185a5d6ceaa1f6059339ad 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c @@ -2155,7 +2155,7 @@ static int smsc911x_resume(struct platform_device *pdev) static struct platform_driver smsc911x_driver = { .probe = smsc911x_drv_probe, - .remove = smsc911x_drv_remove, + .remove = __devexit_p(smsc911x_drv_remove), .driver = { .name = SMSC_CHIPNAME, },