summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>2011-09-27 21:49:12 +0000
committerDavid S. Miller <davem@davemloft.net>2011-09-28 13:41:51 -0400
commitd4fa0e35fdbd54acf791fa3793d6d17f7795f7ae (patch)
tree19aa0a839ab928c8b7b0bfb2fccec3572618270e
parent8eac3f60acad6e05a938a3d5feef01cb367bde4a (diff)
downloadblackbird-op-linux-d4fa0e35fdbd54acf791fa3793d6d17f7795f7ae.tar.gz
blackbird-op-linux-d4fa0e35fdbd54acf791fa3793d6d17f7795f7ae.zip
net: sh_eth: move the asm/sh_eth.h to include/linux/
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.c1
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.h8
-rw-r--r--include/linux/sh_eth.h (renamed from arch/sh/include/asm/sh_eth.h)0
3 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index 38ccda55ea7e..6aa0704fc26a 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -35,6 +35,7 @@
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/ethtool.h>
+#include <linux/sh_eth.h>
#include "sh_eth.h"
diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h
index 78e586ecdeaa..47877b13ffad 100644
--- a/drivers/net/ethernet/renesas/sh_eth.h
+++ b/drivers/net/ethernet/renesas/sh_eth.h
@@ -23,14 +23,6 @@
#ifndef __SH_ETH_H__
#define __SH_ETH_H__
-#include <linux/module.h>
-#include <linux/kernel.h>
-#include <linux/spinlock.h>
-#include <linux/netdevice.h>
-#include <linux/phy.h>
-
-#include <asm/sh_eth.h>
-
#define CARDNAME "sh-eth"
#define TX_TIMEOUT (5*HZ)
#define TX_RING_SIZE 64 /* Tx ring size */
diff --git a/arch/sh/include/asm/sh_eth.h b/include/linux/sh_eth.h
index 2076acf8294d..2076acf8294d 100644
--- a/arch/sh/include/asm/sh_eth.h
+++ b/include/linux/sh_eth.h
OpenPOWER on IntegriCloud