All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1 linux-next] usb: isp1301-omap: don't opencode IS_REACHABLE()
@ 2016-11-12  8:49 Fabian Frederick
  0 siblings, 0 replies; only message in thread
From: Fabian Frederick @ 2016-11-12  8:49 UTC (permalink / raw)
  To: Felipe Balbi; +Cc: linux-usb, linux-kernel, fabf

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-12  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-12  8:49 [PATCH 1/1 linux-next] usb: isp1301-omap: don't opencode IS_REACHABLE() Fabian Frederick

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.