From: Felipe Balbi Date: Tue, 30 Jul 2013 06:09:15 +0000 (+0300) Subject: usb: of: fix build breakage caused by recent patches X-Git-Tag: v3.12-rc1~186^2~77^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf7b244187bba5964d4bf7438946baa2a974466;p=pandora-kernel.git usb: of: fix build breakage caused by recent patches commit 052a11d (usb: phy: make PHY driver selection possible by controller drivers) changed the rules on how drivers/usb/phy/of.c would be compiled and failed to update include/linux/usb/of.h accordingly. Because of that, we can fall into situations where of_usb_get_phy_mode() is redefined. In order to fix the error, we update the IS_ENABLED() check in include/linux/usb/of.h to reflect the condition where of.c is built. Reported-by: Stephen Rothwell Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed