[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190205131314.GC28397@lunn.ch>
Date: Tue, 5 Feb 2019 14:13:14 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Pankaj Bansal <pankaj.bansal@....com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH v3 2/2] netdev/phy: add MDIO bus multiplexer driven by a
regmap
> 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
Powered by blists - more mailing lists