@@ -17,11 +17,11 @@
#include <linux/dma-mapping.h>
#include <linux/clk-provider.h>
#include <linux/spinlock.h>
-#include <linux/mv643xx_i2c.h>
#include <linux/platform_data/kirkwood-audio.h>
#include <linux/platform_data/ehci-orion.h>
#include <linux/platform_data/mvsdio.h>
#include <linux/platform_data/mv_xor.h>
+#include <linux/platform_data/mv643xx_i2c.h>
#include <linux/platform_data/orion_nand.h>
#include <net/dsa.h>
#include <asm/page.h>
@@ -15,11 +15,11 @@
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/serial_8250.h>
-#include <linux/mv643xx_i2c.h>
#include <linux/ata_platform.h>
#include <linux/delay.h>
#include <linux/clk-provider.h>
#include <linux/platform_data/ehci-orion.h>
+#include <linux/platform_data/mv643xx_i2c.h>
#include <linux/platform_data/orion_nand.h>
#include <net/dsa.h>
#include <asm/page.h>
@@ -17,9 +17,9 @@
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/mv643xx_eth.h>
-#include <linux/mv643xx_i2c.h>
#include <linux/platform_data/ehci-orion.h>
#include <linux/platform_data/mv_xor.h>
+#include <linux/platform_data/mv643xx_i2c.h>
#include <net/dsa.h>
#include <mach/bridge-regs.h>
@@ -15,7 +15,6 @@
#include <linux/spinlock.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
-#include <linux/mv643xx_i2c.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/of.h>
@@ -23,6 +22,7 @@
#include <linux/of_i2c.h>
#include <linux/clk.h>
#include <linux/err.h>
+#include <linux/platform_data/mv643xx_i2c.h>
/* Register defines */
#define MV64XXX_I2C_REG_SLAVE_ADDR 0x00
@@ -15,7 +15,7 @@
#include <asm/types.h>
#include <linux/mv643xx_eth.h>
-#include <linux/mv643xx_i2c.h>
+#include <linux/platform_data/mv643xx_i2c.h>
/****************************************/
/* Processor Address Space */
similarity index 89%
rename from include/linux/mv643xx_i2c.h
rename to include/linux/platform_data/mv643xx_i2c.h
@@ -5,8 +5,8 @@
* option) any later version.
*/
-#ifndef _MV64XXX_I2C_H_
-#define _MV64XXX_I2C_H_
+#ifndef _MV64XXX_I2C_PDATA_H_
+#define _MV64XXX_I2C_PDATA_H_
#include <linux/types.h>
Even though this platform_data header was already in <linux/...> and not in <plat/...>, it makes sense to move it as well to <linux/platform_data/...>. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- arch/arm/mach-kirkwood/common.c | 2 +- arch/arm/mach-orion5x/common.c | 2 +- arch/arm/plat-orion/common.c | 2 +- drivers/i2c/busses/i2c-mv64xxx.c | 2 +- include/linux/mv643xx.h | 2 +- include/linux/{ => platform_data}/mv643xx_i2c.h | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) rename include/linux/{ => platform_data}/mv643xx_i2c.h (89%)