diff options
author | Sriramakrishnan <srk@ti.com> | 2009-11-19 15:58:25 +0530 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-02-04 13:29:50 -0800 |
commit | 8ee2bf9ab792d0c02b13ca3acbd036debb7745d9 (patch) | |
tree | 3aee12e86ef03b9df2727c9032eaf60d2a7a11b4 /drivers/net/davinci_emac.c | |
parent | fc42e335ee6a7dd1f740c0fc868d607cc689d7c4 (diff) | |
download | linux-8ee2bf9ab792d0c02b13ca3acbd036debb7745d9.tar.gz linux-8ee2bf9ab792d0c02b13ca3acbd036debb7745d9.tar.bz2 linux-8ee2bf9ab792d0c02b13ca3acbd036debb7745d9.zip |
TI Davinci EMAC : Re-use driver for other platforms.
The davinci EMAC peripheral is also available on other TI
platforms -notably TI AM3517 SoC. This patch modifies the
config option and the platform structure header files so that
the driver can be reused on non-davinci platforms as well.
Signed-off-by: Sriramakrishnan <srk@ti.com>
Acked-by: Chaithrika U S <chaithrika@ti.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'drivers/net/davinci_emac.c')
-rw-r--r-- | drivers/net/davinci_emac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c index 33c4fe26178c..9ebac35d3af0 100644 --- a/drivers/net/davinci_emac.c +++ b/drivers/net/davinci_emac.c @@ -62,12 +62,11 @@ #include <linux/bitops.h> #include <linux/io.h> #include <linux/uaccess.h> +#include <linux/davinci_emac.h> #include <asm/irq.h> #include <asm/page.h> -#include <mach/emac.h> - static int debug_level; module_param(debug_level, int, 0); MODULE_PARM_DESC(debug_level, "DaVinci EMAC debug level (NETIF_MSG bits)"); |