Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FCC9C282CC for ; Tue, 5 Feb 2019 13:13:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D12D52083B for ; Tue, 5 Feb 2019 13:13:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="pi2bmtM7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729308AbfBENNQ (ORCPT ); Tue, 5 Feb 2019 08:13:16 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:39436 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbfBENNQ (ORCPT ); Tue, 5 Feb 2019 08:13:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vaZKodjPX6g8vhGWBZIwjd8m8k5MTeR+yUUp0L+cOBE=; b=pi2bmtM7n8q85oFiYjb8ONLxpX 9oOkx0wp/bnZ1AZwATiNRbUFiFpuH7fFcfTKE/QfuuMp8Wt4LnKkRTabVQzSPVrOjykdKIYjD7WGr FBOchV5ubocGCRkmnkMG9wyhfKqxWM42TfxCPeMF+KGY/F1MlGMLNkcINzLWwqqhOuAI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1gr0XK-0007Yy-JD; Tue, 05 Feb 2019 14:13:14 +0100 Date: Tue, 5 Feb 2019 14:13:14 +0100 From: Andrew Lunn To: Pankaj Bansal Cc: Florian Fainelli , "netdev@vger.kernel.org" Subject: Re: [PATCH v3 2/2] netdev/phy: add MDIO bus multiplexer driven by a regmap Message-ID: <20190205131314.GC28397@lunn.ch> References: <20190205153014.3807-1-pankaj.bansal@nxp.com> <20190205153014.3807-3-pankaj.bansal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205153014.3807-3-pankaj.bansal@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > 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