]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit814fba23890fe279a0bf43c1402b15726704fba5
tree0591846b356946cf6d5088eecee8357ec9de17de
parent28c7bf65656c00aff61ee1b7ee7c1d996a9a5e14
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