From: Viral Mehta <Viral.Mehta@lntinfotech.com>
Date: Tue, 6 Apr 2010 06:21:00 +0000 (+0530)
Subject: USB: omap: switch to subsys_initcall for isp1301 transceiver
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=94a82487e6e57a102636a5326c930619f641038c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

USB: omap: switch to subsys_initcall for isp1301 transceiver

isp1301 transceiver driver init should be done before we do ohci omap init

Signed-off-by: Viral Mehta <viral.mehta@lntinfotech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/drivers/usb/otg/isp1301_omap.c b/drivers/usb/otg/isp1301_omap.c
index 78a20970926..45696949241 100644
--- a/drivers/usb/otg/isp1301_omap.c
+++ b/drivers/usb/otg/isp1301_omap.c
@@ -1654,7 +1654,7 @@ static int __init isp_init(void)
 {
 	return i2c_add_driver(&isp1301_driver);
 }
-module_init(isp_init);
+subsys_initcall(isp_init);
 
 static void __exit isp_exit(void)
 {