From: Javier Martinez Canillas Date: Thu, 9 Sep 2010 21:31:29 +0000 (-0400) Subject: USB: isp1362-hcd: Removes CONFIG_USB_OTG dependent code, fix build breakage X-Git-Tag: v2.6.37-rc1~154^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9137c2e44116a1fcb82bb99dc84318e792c150b;p=pandora-kernel.git USB: isp1362-hcd: Removes CONFIG_USB_OTG dependent code, fix build breakage In today linux-next I got a compile error on usb/host/isp1362-hcd: drivers/usb/host/isp1362-hcd.c: In function ‘isp1362_hub_control’: drivers/usb/host/isp1362-hcd.c:1680: error: ‘ohci’ undeclared (first use in this function) The problem is when the CONFIG_USB_OTG option is enabled. ohci variable is never declared and there isn't any CONFIG_USB_OTG dependent code besides the portion defined in isp1362_hub_control. So I think that maybe USB OTG support is not needed/supported. This patch removes the CONFIG_USB_OTG dependent block so the driver can compile cleanly. Signed-off-by: Javier Martinez Canillas Cc: Mike Frysinger Cc: Lothar Wassmann Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed