don't use __devexit_p to wrap sgiseeq_remove
authorUwe Kleine-König <[email protected]>
Wed, 30 Sep 2009 22:28:26 +0000 (22:28 +0000)
committerDavid S. Miller <[email protected]>
Thu, 1 Oct 2009 21:34:43 +0000 (14:34 -0700)
The function sgiseeq_remove is defined using __exit, so don't use
__devexit_p but __exit_p to wrap it.

Signed-off-by: Uwe Kleine-König <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Wang Chen <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: David S. Miller <[email protected]>
drivers/net/sgiseeq.c

index ecf3279fbef516857cca35a56cd0562805e92d52..f4dfd1f679a9d925081a364cd500727734326b6e 100644 (file)
@@ -826,7 +826,7 @@ static int __exit sgiseeq_remove(struct platform_device *pdev)
 
 static struct platform_driver sgiseeq_driver = {
        .probe  = sgiseeq_probe,
-       .remove = __devexit_p(sgiseeq_remove),
+       .remove = __exit_p(sgiseeq_remove),
        .driver = {
                .name   = "sgiseeq",
                .owner  = THIS_MODULE,