From: Fabian Frederick Date: Sat, 12 Nov 2016 08:49:12 +0000 (+0100) Subject: usb: isp1301-omap: don't opencode IS_REACHABLE() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6ae660b59c9f1c121f0e2358e27191dfcec723ad;p=linux-beck.git usb: isp1301-omap: don't opencode IS_REACHABLE() We have a macro which does the same trick. Let's use it. Signed-off-by: Fabian Frederick Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c index 8d111ec653e4..042c5a8fd423 100644 --- a/drivers/usb/phy/phy-isp1301-omap.c +++ b/drivers/usb/phy/phy-isp1301-omap.c @@ -94,7 +94,7 @@ struct isp1301 { #if defined(CONFIG_MACH_OMAP_H2) || defined(CONFIG_MACH_OMAP_H3) -#if defined(CONFIG_TPS65010) || (defined(CONFIG_TPS65010_MODULE) && defined(MODULE)) +#if IS_REACHABLE(CONFIG_TPS65010) #include