]> git.baikalelectronics.ru Git - kernel.git/commit
usb: omap: ohci: Missing driver unregister in module exit
authorKeshava Munegowda <keshava_mgowda@ti.com>
Mon, 13 Sep 2010 23:10:01 +0000 (04:40 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:42 +0000 (10:21 -0700)
commit1caeb1f6814d6549a28c5ba0bc457a11967f43dd
tree6486651f7eecd92c9f1fc12d8104844eecc94f76
parent2531c51fbdb37c70ff097e8d21c435fe0784de92
usb: omap: ohci: Missing driver unregister in module exit

The un-registration of OHCI driver was not done in the ohci_hcd_mod_exit
function. This was affecting rmmod command not to work for OMAP3
platforms.  The platform driver un-registration for OMAP3 platforms is
perfomed while removing the OHCI module from kernel.

Signed-off-by: Keshava Munegowda <keshava_mgowda@ti.com>
Signed-of-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hcd.c