Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1520207 > unrolled thread

[PATCH 1/1 linux-next] usb: isp1301-omap: don't opencode IS_REACHABLE()

Started byFabian Frederick <fabf@skynet.be>
First post2016-11-12 09:50 +0100
Last post2016-11-12 09:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1 linux-next] usb: isp1301-omap: don't opencode IS_REACHABLE() Fabian Frederick <fabf@skynet.be> - 2016-11-12 09:50 +0100

#1520207 — [PATCH 1/1 linux-next] usb: isp1301-omap: don't opencode IS_REACHABLE()

FromFabian Frederick <fabf@skynet.be>
Date2016-11-12 09:50 +0100
Subject[PATCH 1/1 linux-next] usb: isp1301-omap: don't opencode IS_REACHABLE()
Message-ID<sCCaB-86l-1@gated-at.bofh.it>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 drivers/usb/phy/phy-isp1301-omap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/phy/phy-isp1301-omap.c b/drivers/usb/phy/phy-isp1301-omap.c
index 8d111ec..042c5a8 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 <linux/i2c/tps65010.h>
 
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web