diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2011-12-23 10:30:16 -0500 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-01-09 13:25:19 -0500 |
commit | 329ad399a9b3adf52c90637b21ca029fcf7f8795 (patch) | |
tree | 7aa7bb2609c25de7859c3a666f3ea90934609592 /arch/arm/mach-davinci | |
parent | 04c601bfa4cb29c968dcb66e44c799c9c01d8675 (diff) |
mtd: introduce mtd_read interface
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/board-da850-evm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 6659a90dbcad..8b079f9d6924 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c | |||
@@ -127,7 +127,7 @@ static void da850_evm_m25p80_notify_add(struct mtd_info *mtd) | |||
127 | size_t retlen; | 127 | size_t retlen; |
128 | 128 | ||
129 | if (!strcmp(mtd->name, "MAC-Address")) { | 129 | if (!strcmp(mtd->name, "MAC-Address")) { |
130 | mtd->read(mtd, 0, ETH_ALEN, &retlen, mac_addr); | 130 | mtd_read(mtd, 0, ETH_ALEN, &retlen, mac_addr); |
131 | if (retlen == ETH_ALEN) | 131 | if (retlen == ETH_ALEN) |
132 | pr_info("Read MAC addr from SPI Flash: %pM\n", | 132 | pr_info("Read MAC addr from SPI Flash: %pM\n", |
133 | mac_addr); | 133 | mac_addr); |