mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 2/9] include: Move smc91111 eth platform_data to include/platform_data
Date: Fri, 15 Apr 2016 08:49:11 +0200	[thread overview]
Message-ID: <1460702958-4012-3-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1460702958-4012-1-git-send-email-s.hauer@pengutronix.de>

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/boards/lubbock/board.c         |  2 +-
 arch/arm/boards/mainstone/board.c       |  2 +-
 arch/arm/boards/versatile/versatilepb.c |  2 +-
 arch/arm/boards/zylonite/board.c        |  2 +-
 drivers/net/smc91111.c                  |  2 +-
 include/net/smc91111.h                  | 19 -------------------
 include/platform_data/eth-smc91111.h    | 19 +++++++++++++++++++
 7 files changed, 24 insertions(+), 24 deletions(-)
 delete mode 100644 include/net/smc91111.h
 create mode 100644 include/platform_data/eth-smc91111.h

diff --git a/arch/arm/boards/lubbock/board.c b/arch/arm/boards/lubbock/board.c
index 6f517d8..c2a0db7 100644
--- a/arch/arm/boards/lubbock/board.c
+++ b/arch/arm/boards/lubbock/board.c
@@ -33,7 +33,7 @@
 #include <mach/udc_pxa2xx.h>
 #include <mach/mci_pxa2xx.h>
 
-#include <net/smc91111.h>
+#include <platform_data/eth-smc91111.h>
 #include <asm/armlinux.h>
 #include <asm/io.h>
 #include <asm/mmu.h>
diff --git a/arch/arm/boards/mainstone/board.c b/arch/arm/boards/mainstone/board.c
index c339bb9..0e48e79 100644
--- a/arch/arm/boards/mainstone/board.c
+++ b/arch/arm/boards/mainstone/board.c
@@ -33,7 +33,7 @@
 #include <mach/udc_pxa2xx.h>
 #include <mach/mci_pxa2xx.h>
 
-#include <net/smc91111.h>
+#include <platform_data/eth-smc91111.h>
 #include <asm/armlinux.h>
 #include <asm/io.h>
 #include <asm/mmu.h>
diff --git a/arch/arm/boards/versatile/versatilepb.c b/arch/arm/boards/versatile/versatilepb.c
index 3166cd4..8691a17 100644
--- a/arch/arm/boards/versatile/versatilepb.c
+++ b/arch/arm/boards/versatile/versatilepb.c
@@ -29,7 +29,7 @@
 #include <environment.h>
 #include <partition.h>
 #include <linux/sizes.h>
-#include <net/smc91111.h>
+#include <platform_data/eth-smc91111.h>
 
 static int vpb_console_init(void)
 {
diff --git a/arch/arm/boards/zylonite/board.c b/arch/arm/boards/zylonite/board.c
index 2ff08b7..bd72cd1 100644
--- a/arch/arm/boards/zylonite/board.c
+++ b/arch/arm/boards/zylonite/board.c
@@ -25,7 +25,7 @@
 #include <init.h>
 #include <partition.h>
 #include <led.h>
-#include <net/smc91111.h>
+#include <platform_data/eth-smc91111.h>
 #include <platform_data/mtd-nand-mrvl.h>
 #include <pwm.h>
 #include <linux/clk.h>
diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c
index b705591..e08e3dd 100644
--- a/drivers/net/smc91111.c
+++ b/drivers/net/smc91111.c
@@ -67,7 +67,7 @@
 #include <io.h>
 #include <linux/phy.h>
 #include <linux/err.h>
-#include <net/smc91111.h>
+#include <platform_data/eth-smc91111.h>
 
 /*---------------------------------------------------------------
  .
diff --git a/include/net/smc91111.h b/include/net/smc91111.h
deleted file mode 100644
index 72193bf..0000000
--- a/include/net/smc91111.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
- *
- * Under GPLv2 only
- */
-
-#ifndef __SMC91111_H__
-#define __SMC91111_H__
-
-struct smc91c111_pdata {
-	int qemu_fixup;
-	int addr_shift;
-	int bus_width;
-	bool word_aligned_short_writes;
-	int config_setup;
-	int control_setup;
-};
-
-#endif /* __SMC91111_H__ */
diff --git a/include/platform_data/eth-smc91111.h b/include/platform_data/eth-smc91111.h
new file mode 100644
index 0000000..72193bf
--- /dev/null
+++ b/include/platform_data/eth-smc91111.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnio@jcrosoft.com>
+ *
+ * Under GPLv2 only
+ */
+
+#ifndef __SMC91111_H__
+#define __SMC91111_H__
+
+struct smc91c111_pdata {
+	int qemu_fixup;
+	int addr_shift;
+	int bus_width;
+	bool word_aligned_short_writes;
+	int config_setup;
+	int control_setup;
+};
+
+#endif /* __SMC91111_H__ */
-- 
2.7.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2016-04-15  6:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15  6:49 [PATCH] move " Sascha Hauer
2016-04-15  6:49 ` [PATCH 1/9] include: Move ep93xx eth " Sascha Hauer
2016-04-15  6:49 ` Sascha Hauer [this message]
2016-04-15  6:49 ` [PATCH 3/9] include: Move designware " Sascha Hauer
2016-04-15  6:49 ` [PATCH 4/9] include: Move davinci emac " Sascha Hauer
2016-04-15  6:49 ` [PATCH 5/9] include: Move fec eth " Sascha Hauer
2016-04-15  6:49 ` [PATCH 6/9] include: Move ns16550 serial " Sascha Hauer
2016-04-15  6:49 ` [PATCH 7/9] include: Move dm9000 eth " Sascha Hauer
2016-04-15  6:49 ` [PATCH 8/9] include: Move smc911x " Sascha Hauer
2016-04-15  6:49 ` [PATCH 9/9] include: Move ide " Sascha Hauer

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=1460702958-4012-3-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox