Thread (5 messages) flat view 5 messages, 3 authors, 2019-02-06

Re: [PATCH v3 2/2] netdev/phy: add MDIO bus multiplexer driven by a regmap

From: Andrew Lunn <andrew@lunn.ch>
Date: 2019-02-05 13:13:18

quoted hunk ↗ jump to hunk
diff --git a/include/linux/mdio-mux.h b/include/linux/mdio-mux.h
index a5d58f221939..bb5d0e2774bf 100644
--- a/include/linux/mdio-mux.h
+++ b/include/linux/mdio-mux.h
@@ -29,4 +29,38 @@ int mdio_mux_init(struct device *dev,
 
 void mdio_mux_uninit(void *mux_handle);
 
+#if defined(CONFIG_MDIO_BUS_MUX_REGMAP) || \
+    defined(CONFIG_MDIO_BUS_MUX_REGMAP_MODULE)
Please use IS_ENABLED().

       Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help