forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
1ebb5a1aa9
commit
fb74c2fcac
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user