[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <542EED50.9040309@cogentembedded.com>
Date: Fri, 03 Oct 2014 22:39:12 +0400
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Claudiu Manoil <claudiu.manoil@...escale.com>,
netdev@...r.kernel.org
CC: "David S. Miller" <davem@...emloft.net>,
Xiubo Li <Li.Xiubo@...escale.com>,
Shruti Kanetkar <Shruti@...escale.com>
Subject: Re: [net 1/8] net/fsl_pq_mdio: Fix asm/ucc.h compile error for ARM
Hello.
On 10/03/2014 08:02 PM, Claudiu Manoil wrote:
> The UCC specific code included in fsl_pq_mdio.c (with
> function calls from asm/ucc.h) is already guarded
> by these config options, so this ARM build fix provides
> consistency with the rest UCC specific code.
> Signed-off-by: Claudiu Manoil <claudiu.manoil@...escale.com>
> ---
> drivers/net/ethernet/freescale/fsl_pq_mdio.c | 2 ++
> 1 file changed, 2 insertions(+)
> diff --git a/drivers/net/ethernet/freescale/fsl_pq_mdio.c b/drivers/net/ethernet/freescale/fsl_pq_mdio.c
> index 583e71a..89b3fea 100644
> --- a/drivers/net/ethernet/freescale/fsl_pq_mdio.c
> +++ b/drivers/net/ethernet/freescale/fsl_pq_mdio.c
> @@ -28,7 +28,9 @@
> #include <linux/of_device.h>
>
> #include <asm/io.h>
> +#if defined(CONFIG_UCC_GETH) || defined(CONFIG_UCC_GETH_MODULE)
Use IS_ENABLED(CONFIG_UCC_GETH) instead.
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists