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 1/9] include: Move ep93xx eth platform_data to include/platform_data
Date: Fri, 15 Apr 2016 08:49:10 +0200	[thread overview]
Message-ID: <1460702958-4012-2-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/edb93xx/edb93xx.c  |  2 +-
 drivers/net/ep93xx.c               |  2 +-
 include/net/ep93xx_eth.h           | 26 --------------------------
 include/platform_data/eth-ep93xx.h | 26 ++++++++++++++++++++++++++
 4 files changed, 28 insertions(+), 28 deletions(-)
 delete mode 100644 include/net/ep93xx_eth.h
 create mode 100644 include/platform_data/eth-ep93xx.h

diff --git a/arch/arm/boards/edb93xx/edb93xx.c b/arch/arm/boards/edb93xx/edb93xx.c
index 0fb93d2..cdc2009 100644
--- a/arch/arm/boards/edb93xx/edb93xx.c
+++ b/arch/arm/boards/edb93xx/edb93xx.c
@@ -27,7 +27,7 @@
 #include <malloc.h>
 #include <generated/mach-types.h>
 #include <mach/ep93xx-regs.h>
-#include <net/ep93xx_eth.h>
+#include <platform_data/eth-ep93xx.h>
 #include "edb93xx.h"
 
 #define DEVCFG_U1EN (1 << 18)
diff --git a/drivers/net/ep93xx.c b/drivers/net/ep93xx.c
index 0acb9b6..fd725a5 100644
--- a/drivers/net/ep93xx.c
+++ b/drivers/net/ep93xx.c
@@ -38,7 +38,7 @@
 #include <linux/types.h>
 #include <mach/ep93xx-regs.h>
 #include <linux/phy.h>
-#include <net/ep93xx_eth.h>
+#include <platform_data/eth-ep93xx.h>
 #include "ep93xx.h"
 
 #define EP93XX_MAX_PKT_SIZE    1536
diff --git a/include/net/ep93xx_eth.h b/include/net/ep93xx_eth.h
deleted file mode 100644
index 0fb11d0..0000000
--- a/include/net/ep93xx_eth.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * (C) Copyright 2016 Alexander Kurz <akurz@blala.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- */
-
-#ifndef __NET_EP93XX_ETH_H
-#define __NET_EP93XX_ETH_H
-
-#include <linux/phy.h>
-
-struct ep93xx_eth_platform_data {
-	phy_interface_t	xcv_type;
-	int		phy_addr;
-};
-
-#endif /* __NET_EP93XX_ETH_H */
diff --git a/include/platform_data/eth-ep93xx.h b/include/platform_data/eth-ep93xx.h
new file mode 100644
index 0000000..0fb11d0
--- /dev/null
+++ b/include/platform_data/eth-ep93xx.h
@@ -0,0 +1,26 @@
+/*
+ * (C) Copyright 2016 Alexander Kurz <akurz@blala.de>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#ifndef __NET_EP93XX_ETH_H
+#define __NET_EP93XX_ETH_H
+
+#include <linux/phy.h>
+
+struct ep93xx_eth_platform_data {
+	phy_interface_t	xcv_type;
+	int		phy_addr;
+};
+
+#endif /* __NET_EP93XX_ETH_H */
-- 
2.7.0


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

  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 ` Sascha Hauer [this message]
2016-04-15  6:49 ` [PATCH 2/9] include: Move smc91111 eth " Sascha Hauer
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-2-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