pch_can: fix rmmod issue
authorTomoya <tomoya-linux@dsn.okisemi.com>
Mon, 7 Feb 2011 23:29:02 +0000 (23:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2011 00:37:19 +0000 (16:37 -0800)
commitce9736d4fb48beed370e22ac156779746dda7b92
tree0591846b356946cf6d5088eecee8357ec9de17de
parenteab743ede8c4a5e88533d022e9c5374ed08df4cb
pch_can: fix rmmod issue

Currently, when rmmod pch_can, kernel failure occurs.
The cause is pci_iounmap executed before pch_can_reset.
Thus pci_iounmap moves after pch_can_reset.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/pch_can.c