From 472e36c752de840404ae43d76e2aef865c5a8a9e Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 12 Apr 2016 09:59:12 +0200 Subject: include: Move ep93xx eth platform_data to include/platform_data Signed-off-by: Sascha Hauer --- 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 0fb93d23dc..cdc2009b1e 100644 --- a/arch/arm/boards/edb93xx/edb93xx.c +++ b/arch/arm/boards/edb93xx/edb93xx.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "edb93xx.h" #define DEVCFG_U1EN (1 << 18) diff --git a/drivers/net/ep93xx.c b/drivers/net/ep93xx.c index 0acb9b692f..fd725a56ee 100644 --- a/drivers/net/ep93xx.c +++ b/drivers/net/ep93xx.c @@ -38,7 +38,7 @@ #include #include #include -#include +#include #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 0fb11d0acd..0000000000 --- a/include/net/ep93xx_eth.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * (C) Copyright 2016 Alexander Kurz - * - * 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 - -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 0000000000..0fb11d0acd --- /dev/null +++ b/include/platform_data/eth-ep93xx.h @@ -0,0 +1,26 @@ +/* + * (C) Copyright 2016 Alexander Kurz + * + * 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 + +struct ep93xx_eth_platform_data { + phy_interface_t xcv_type; + int phy_addr; +}; + +#endif /* __NET_EP93XX_ETH_H */ -- cgit v1.2.3