From: Greg Ungerer <gregungerer00@gmail.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: davem@davemloft.net, gerg@uclinux.org, netdev@vger.kernel.org,
Fabio Estevam <fabio.estevam@freescale.com>
Subject: Re: [PATCH] fec: Remove unneeded asm header files
Date: Thu, 18 Apr 2013 21:56:43 +1000 [thread overview]
Message-ID: <516FDF7B.10808@gmail.com> (raw)
In-Reply-To: <1366251498-11677-1-git-send-email-festevam@gmail.com>
Hi Fabio,
On 18/04/13 12:18, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> There is nothing in the driver that requires asm header files.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> Greg,
>
> I built this for ARM and x86 (tweaking Kconfig), but I don't have a m68k
> toolchain installed here to test it.
>
> Please build it for m68k if you have a chance. Thanks
>
> drivers/net/ethernet/freescale/fec_main.c | 7 -------
fec_main.c? It doesn't exist in 3.9-rc7.
Comments and tests below based on fec.c in 3.9-rc7.
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
> index 719177b..22c0feb 100644
> --- a/drivers/net/ethernet/freescale/fec_main.c
> +++ b/drivers/net/ethernet/freescale/fec_main.c
> @@ -50,13 +50,6 @@
> #include <linux/pinctrl/consumer.h>
> #include <linux/regulator/consumer.h>
>
> -#include <asm/cacheflush.h>
There is a very bogus looking call to flush_cache_all() conditional on
CONFIG_M532x, and I suspect this won't compile if you take this out.
> -
> -#ifndef CONFIG_ARM
> -#include <asm/coldfire.h>
> -#include <asm/mcfsim.h>
> -#endif
No problem with this part. I tested on a couple of ColdFire targets with
this and they still compile ok.
Regards
Greg
next prev parent reply other threads:[~2013-04-18 11:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 2:18 [PATCH] fec: Remove unneeded asm header files Fabio Estevam
2013-04-18 11:56 ` Greg Ungerer [this message]
2013-04-18 17:57 ` David Miller
2013-04-18 12:00 ` Greg Ungerer
2013-04-18 12:42 ` Fabio Estevam
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=516FDF7B.10808@gmail.com \
--to=gregungerer00@gmail.com \
--cc=davem@davemloft.net \
--cc=fabio.estevam@freescale.com \
--cc=festevam@gmail.com \
--cc=gerg@uclinux.org \
--cc=netdev@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.