diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2013-09-27 15:06:28 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-09-30 00:02:34 -0400 |
commit | 25f73ed5c67d17ecf8cefd560f55211cce726086 (patch) | |
tree | 983ae50319c796418a6f6ec77d75d421408cb92e /include/linux | |
parent | 3c41aa710846c76400d6e8cf06600cc3eb8cbcc2 (diff) |
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 'include/linux')
-rw-r--r-- | include/linux/platform_data/at24.h (renamed from include/linux/i2c/at24.h) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c/at24.h b/include/linux/platform_data/at24.h index 285025a9cdc9..c42aa89d34ee 100644 --- a/include/linux/i2c/at24.h +++ b/include/linux/platform_data/at24.h | |||
@@ -28,7 +28,7 @@ | |||
28 | * | 28 | * |
29 | * void get_mac_addr(struct memory_accessor *mem_acc, void *context) | 29 | * void get_mac_addr(struct memory_accessor *mem_acc, void *context) |
30 | * { | 30 | * { |
31 | * u8 *mac_addr = ethernet_pdata->mac_addr; | 31 | * u8 *mac_addr = ethernet_pdata->mac_addr; |
32 | * off_t offset = context; | 32 | * off_t offset = context; |
33 | * | 33 | * |
34 | * // Read MAC addr from EEPROM | 34 | * // Read MAC addr from EEPROM |