diff options
author | Mark A. Greer <mgreer@mvista.com> | 2009-04-15 15:41:27 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-05-28 18:17:47 -0400 |
commit | b14dc0f9942a9c318c6c49f29511d88b3642e2d0 (patch) | |
tree | ef9a9f0502c62a059de7ef7bb4949d5f51f8c8d1 /arch/arm/mach-davinci/include | |
parent | c97909fcf1611645f0fe235b332e39623588d84c (diff) |
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')
-rw-r--r-- | arch/arm/mach-davinci/include/mach/emac.h | 6 |
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 @@ | |||
12 | #define _MACH_DAVINCI_EMAC_H | 12 | #define _MACH_DAVINCI_EMAC_H |
13 | 13 | ||
14 | #include <linux/if_ether.h> | 14 | #include <linux/if_ether.h> |
15 | #include <linux/memory.h> | ||
15 | 16 | ||
16 | struct emac_platform_data { | 17 | struct emac_platform_data { |
17 | char mac_addr[ETH_ALEN]; | 18 | char mac_addr[ETH_ALEN]; |
@@ -30,7 +31,6 @@ enum { | |||
30 | EMAC_VERSION_1, /* DM644x */ | 31 | EMAC_VERSION_1, /* DM644x */ |
31 | EMAC_VERSION_2, /* DM646x */ | 32 | EMAC_VERSION_2, /* DM646x */ |
32 | }; | 33 | }; |
33 | void davinci_init_emac(struct emac_platform_data *pdata); | ||
34 | #endif | ||
35 | |||
36 | 34 | ||
35 | void davinci_get_mac_addr(struct memory_accessor *mem_acc, void *context); | ||
36 | #endif | ||