Browse Source

don't use __devexit_p to wrap sgiseeq_remove

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 <u.kleine-koenig@pengutronix.de>
Cc: David S. Miller <davem@davemloft.net>
Cc: Wang Chen <wangchen@cn.fujitsu.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Patrick McHardy <kaber@trash.net>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Uwe Kleine-König 15 years ago
parent
commit
fb74c2fcac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/sgiseeq.c

+ 1 - 1
drivers/net/sgiseeq.c

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