summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/include/mach/emac.h
diff options
context:
space:
mode:
authorMark A. Greer2009-04-15 21:41:27 +0200
committerKevin Hilman2009-05-29 00:17:47 +0200
commitb14dc0f9942a9c318c6c49f29511d88b3642e2d0 (patch)
treeef9a9f0502c62a059de7ef7bb4949d5f51f8c8d1 /arch/arm/mach-davinci/include/mach/emac.h
parentdavinci: Remove unused i2c eeprom_read/write routines (diff)
downloadkernel-qcow2-linux-b14dc0f9942a9c318c6c49f29511d88b3642e2d0.tar.gz
kernel-qcow2-linux-b14dc0f9942a9c318c6c49f29511d88b3642e2d0.tar.xz
kernel-qcow2-linux-b14dc0f9942a9c318c6c49f29511d88b3642e2d0.zip
davinci: Factor out emac mac address handling
Factor out the code to extract that mac address from i2c eeprom. Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/include/mach/emac.h')
-rw-r--r--arch/arm/mach-davinci/include/mach/emac.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/include/mach/emac.h b/arch/arm/mach-davinci/include/mach/emac.h
index 549fcced2175..beff4fb7c845 100644
--- a/arch/arm/mach-davinci/include/mach/emac.h
+++ b/arch/arm/mach-davinci/include/mach/emac.h
@@ -12,6 +12,7 @@
#define _MACH_DAVINCI_EMAC_H
#include <linux/if_ether.h>
+#include <linux/memory.h>
struct emac_platform_data {
char mac_addr[ETH_ALEN];
@@ -30,7 +31,6 @@ enum {
EMAC_VERSION_1, /* DM644x */
EMAC_VERSION_2, /* DM646x */
};
-void davinci_init_emac(struct emac_platform_data *pdata);
-#endif
-
+void davinci_get_mac_addr(struct memory_accessor *mem_acc, void *context);
+#endif