diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-10-04 01:20:19 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-10-20 15:02:37 +0200 |
commit | 7ac38053538f45032f8f52e99d5cd3368c06037c (patch) | |
tree | f138e518352520377db458fadc32262cda32b787 /drivers/net | |
parent | 81362c2b2a81d63f93e9534aa624c7f265c55947 (diff) | |
download | barebox-7ac38053538f45032f8f52e99d5cd3368c06037c.tar.gz barebox-7ac38053538f45032f8f52e99d5cd3368c06037c.tar.xz |
at91: add cpu devices common api
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/macb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 2d1a1e845d..fabb4fa8f3 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -47,8 +47,8 @@ #include <miiphy.h> #include <errno.h> #include <asm/io.h> +#include <asm/arch/board.h> #include <asm/arch/clk.h> -#include <asm/arch/ether.h> #include "macb.h" @@ -411,7 +411,7 @@ static int macb_probe(struct device_d *dev) struct macb_device *macb; unsigned long macb_hz; u32 ncfgr; - struct at91sam_ether_platform_data *pdata; + struct at91_ether_platform_data *pdata; if (!dev->platform_data) { printf("macb: no platform_data\n"); |