diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2013-09-27 21:06:28 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-09-30 06:02:34 +0200 |
commit | 25f73ed5c67d17ecf8cefd560f55211cce726086 (patch) | |
tree | 983ae50319c796418a6f6ec77d75d421408cb92e /arch/arm/mach-at91/board-sam9260ek.c | |
parent | i2c: bfin-twi: Remove casting the return value which is a void pointer (diff) | |
download | linux-25f73ed5c67d17ecf8cefd560f55211cce726086.tar.xz linux-25f73ed5c67d17ecf8cefd560f55211cce726086.zip |
misc: (at24) move header to linux/platform_data/
This patch moves the at24.h header from include/linux/i2c to
include/linux/platform_data and updates existing support accordingly.
It also fixes the following checkpatch warning:
WARNING: please, no space before tabs
#436: FILE: include/linux/platform_data/at24.h:31:
+ * ^Iu8 *mac_addr = ethernet_pdata->mac_addr;$
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'arch/arm/mach-at91/board-sam9260ek.c')
-rw-r--r-- | arch/arm/mach-at91/board-sam9260ek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c index 0b153c87521d..f4f8735315da 100644 --- a/arch/arm/mach-at91/board-sam9260ek.c +++ b/arch/arm/mach-at91/board-sam9260ek.c @@ -28,7 +28,7 @@ #include <linux/spi/spi.h> #include <linux/spi/at73c213.h> #include <linux/clk.h> -#include <linux/i2c/at24.h> +#include <linux/platform_data/at24.h> #include <linux/gpio_keys.h> #include <linux/input.h> |