Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- drivers/net/davinci_emac.c | 2 +- include/net/davinci_emac.h | 10 ---------- include/platform_data/eth-davinci-emac.h | 10 ++++++++++ 3 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 include/net/davinci_emac.h create mode 100644 include/platform_data/eth-davinci-emac.h diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 3dc4b16..75a917a 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -49,7 +49,7 @@ #include <asm/system.h> #include <linux/phy.h> #include <mach/emac_defs.h> -#include <net/davinci_emac.h> +#include <platform_data/eth-davinci-emac.h> #include "davinci_emac.h" struct davinci_emac_priv { diff --git a/include/net/davinci_emac.h b/include/net/davinci_emac.h deleted file mode 100644 index caead1f..0000000 --- a/include/net/davinci_emac.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef __NET_DAVINCI_EMAC_H__ -#define __NET_DAVINCI_EMAC_H__ - -struct davinci_emac_platform_data { - int phy_addr; - bool force_link; - bool interface_rmii; -}; - -#endif /* __NET_DAVINCI_EMAC_H__ */ diff --git a/include/platform_data/eth-davinci-emac.h b/include/platform_data/eth-davinci-emac.h new file mode 100644 index 0000000..caead1f --- /dev/null +++ b/include/platform_data/eth-davinci-emac.h @@ -0,0 +1,10 @@ +#ifndef __NET_DAVINCI_EMAC_H__ +#define __NET_DAVINCI_EMAC_H__ + +struct davinci_emac_platform_data { + int phy_addr; + bool force_link; + bool interface_rmii; +}; + +#endif /* __NET_DAVINCI_EMAC_H__ */ -- 2.7.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox