diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2014-02-07 10:12:03 (GMT) |
---|---|---|
committer | Madalin-Cristian Bucur <madalin.bucur@freescale.com> | 2014-02-10 09:19:56 (GMT) |
commit | f4d18ecf9782015f67a6e7d041846d59b493379d (patch) | |
tree | 119e322ae299b545007e812d6712d66fe5552caa /drivers/net/ethernet/freescale/dpa | |
parent | bf8a936626c746392c62f6f637b2b7643a370623 (diff) | |
download | linux-fsl-qoriq-f4d18ecf9782015f67a6e7d041846d59b493379d.tar.xz |
dpaa_eth: include mac.h where required
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: Id2e7c768df4faf1230b7e52cc3de6bc601a9184c
Reviewed-on: http://git.am.freescale.net:8181/8648
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Ruxandra Ioana Radulescu <ruxandra.radulescu@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa')
8 files changed, 7 insertions, 3 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_1588.c b/drivers/net/ethernet/freescale/dpa/dpaa_1588.c index 514c045..9f66640 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_1588.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_1588.c @@ -30,6 +30,7 @@ #include "dpaa_eth.h" #include "dpaa_eth_common.h" #include "dpaa_1588.h" +#include "mac.h" static int dpa_ptp_init_circ(struct dpa_ptp_circ_buf *ptp_buf, u32 size) { diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth.h b/drivers/net/ethernet/freescale/dpa/dpaa_eth.h index c7ab652..6d29e5a 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth.h +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth.h @@ -47,8 +47,6 @@ #include "lnxwrp_fsl_fman.h" #include "fm_ext.h" #include "fm_port_ext.h" /* FM_PORT_FRM_ERR_* */ - -#include "mac.h" /* struct mac_device */ #ifdef CONFIG_FSL_DPAA_ETH_DEBUGFS #include "dpaa_debugfs.h" #endif /* CONFIG_FSL_DPAA_ETH_DEBUGFS */ diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c index 6994c5e..2b33cc4 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c @@ -42,7 +42,7 @@ #include "dpaa_eth.h" #include "dpaa_eth_common.h" #include "dpaa_1588.h" - +#include "mac.h" /* DPAA platforms benefit from hardware-assisted queue management */ #ifdef CONFIG_AS_FASTPATH diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c index c0482d6..b7cfad3 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c @@ -51,6 +51,7 @@ #include "dpaa_eth_common.h" #include "dpaa_eth_base.h" #include "lnxwrp_fsl_fman.h" /* fm_get_rx_extra_headroom(), fm_get_max_frm() */ +#include "mac.h" /* For MAC-based interfaces, we compute the tx needed headroom from the * associated Tx port's buffer layout settings. diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_proxy.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_proxy.c index 4b8d794..a8c5bf1 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_proxy.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_proxy.c @@ -45,6 +45,7 @@ #include "dpaa_eth_common.h" #include "dpaa_eth_base.h" #include "lnxwrp_fsl_fman.h" /* fm_get_rx_extra_headroom(), fm_get_max_frm() */ +#include "mac.h" #define DPA_DESCRIPTION "FSL DPAA Proxy initialization driver" diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c index 1afc2f7..8a99f65 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_shared.c @@ -50,6 +50,7 @@ #include "dpaa_eth_common.h" #include "dpaa_eth_base.h" #include "lnxwrp_fsl_fman.h" /* fm_get_rx_extra_headroom(), fm_get_max_frm() */ +#include "mac.h" /* forward declarations */ static enum qman_cb_dqrr_result __hot diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c index 5eb5f62..bf01677 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sysfs.c @@ -35,6 +35,7 @@ #include <linux/io.h> #include <linux/of_net.h> #include "dpaa_eth.h" +#include "mac.h" /* struct mac_device */ #ifdef CONFIG_FSL_DPAA_1588 #include "dpaa_1588.h" #endif diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_ethtool.c b/drivers/net/ethernet/freescale/dpa/dpaa_ethtool.c index b9d9270..a55783d 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_ethtool.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_ethtool.c @@ -41,6 +41,7 @@ #include <linux/string.h> #include "dpaa_eth.h" +#include "mac.h" /* struct mac_device */ static int __cold dpa_get_settings(struct net_device *net_dev, struct ethtool_cmd *et_cmd) |