netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Pankaj Bansal <pankaj.bansal@nxp.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH v3 2/2] netdev/phy: add MDIO bus multiplexer driven by a regmap
Date: Tue, 5 Feb 2019 14:13:14 +0100	[thread overview]
Message-ID: <20190205131314.GC28397@lunn.ch> (raw)
In-Reply-To: <20190205153014.3807-3-pankaj.bansal@nxp.com>

> 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

      parent reply	other threads:[~2019-02-05 13:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-05 10:05 [PATCH v3 0/2] add MDIO bus multiplexer driven by a regmap device Pankaj Bansal
2019-02-05 10:05 ` [PATCH v3 1/2] dt-bindings: net: " Pankaj Bansal
2019-02-05 10:05 ` [PATCH v3 2/2] netdev/phy: add MDIO bus multiplexer driven by a regmap Pankaj Bansal
2019-02-05  5:14   ` Florian Fainelli
2019-02-05 13:13   ` Andrew Lunn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190205131314.GC28397@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=f.fainelli@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=pankaj.bansal@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).