summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/include/mach/emac.h
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2009-04-15 12:41:27 -0700
committerKevin Hilman <khilman@deeprootsystems.com>2009-05-28 15:17:47 -0700
commitb14dc0f9942a9c318c6c49f29511d88b3642e2d0 (patch)
treeef9a9f0502c62a059de7ef7bb4949d5f51f8c8d1 /arch/arm/mach-davinci/include/mach/emac.h
parentc97909fcf1611645f0fe235b332e39623588d84c (diff)
downloadlwn-b14dc0f9942a9c318c6c49f29511d88b3642e2d0.tar.gz
lwn-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