diff mbox

fec: use linux/*.h instead of asm/*.h

Message ID 1231949353-29630-4-git-send-email-s.hauer@pengutronix.de
State RFC, archived
Delegated to: David Miller
Headers show

Commit Message

Sascha Hauer Jan. 14, 2009, 4:09 p.m. UTC
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/net/fec.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

Comments

Greg Ungerer Jan. 15, 2009, 3:55 a.m. UTC | #1
Hi Sacha,

Sascha Hauer wrote:
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---

No problems with this either for ColdFire,

Acked-by:  Greg Ungerer <gerg@uclinux.org>



>  drivers/net/fec.c |    8 +++-----
>  1 files changed, 3 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/net/fec.c b/drivers/net/fec.c
> index 812d8be..1a07d56 100644
> --- a/drivers/net/fec.c
> +++ b/drivers/net/fec.c
> @@ -36,15 +36,13 @@
>  #include <linux/spinlock.h>
>  #include <linux/workqueue.h>
>  #include <linux/bitops.h>
> +#include <linux/io.h>
> +#include <linux/irq.h>
>  
> -#include <asm/irq.h>
> -#include <asm/uaccess.h>
> -#include <asm/io.h>
> -#include <asm/pgtable.h>
>  #include <asm/cacheflush.h>
> -
>  #include <asm/coldfire.h>
>  #include <asm/mcfsim.h>
> +
>  #include "fec.h"
>  
>  #if defined(CONFIG_FEC2)
diff mbox

Patch

diff --git a/drivers/net/fec.c b/drivers/net/fec.c
index 812d8be..1a07d56 100644
--- a/drivers/net/fec.c
+++ b/drivers/net/fec.c
@@ -36,15 +36,13 @@ 
 #include <linux/spinlock.h>
 #include <linux/workqueue.h>
 #include <linux/bitops.h>
+#include <linux/io.h>
+#include <linux/irq.h>
 
-#include <asm/irq.h>
-#include <asm/uaccess.h>
-#include <asm/io.h>
-#include <asm/pgtable.h>
 #include <asm/cacheflush.h>
-
 #include <asm/coldfire.h>
 #include <asm/mcfsim.h>
+
 #include "fec.h"
 
 #if defined(CONFIG_FEC2)