diff options
author | Madalin Bucur <madalin.bucur@freescale.com> | 2014-02-07 10:19:06 (GMT) |
---|---|---|
committer | Madalin-Cristian Bucur <madalin.bucur@freescale.com> | 2014-02-10 09:22:18 (GMT) |
commit | 8d9b7a25e65627550c1e49991276196f581b1bb7 (patch) | |
tree | 66830a4619239d0a2c961b2e6e00f3e5da8e9e5c /drivers/net/ethernet | |
parent | 9e9a2aed6bfa822cb1fb04351860c41318509fd2 (diff) | |
download | linux-fsl-qoriq-8d9b7a25e65627550c1e49991276196f581b1bb7.tar.xz |
dpaa_eth: include dpaa_1588.h only when required
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: Ic498939ea33b665f4f6248eb0f4e8d5f000446d8
Reviewed-on: http://git.am.freescale.net:8181/8650
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c index d76a5aa..8d843f7 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c @@ -44,7 +44,9 @@ #include <linux/if_vlan.h> /* vlan_eth_hdr */ #include "dpaa_eth.h" #include "dpaa_eth_common.h" +#ifdef CONFIG_FSL_DPAA_1588 #include "dpaa_1588.h" +#endif #include "mac.h" /* DPAA platforms benefit from hardware-assisted queue management */ diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c index 9694f3e..f91c978 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c +++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_sg.c @@ -45,7 +45,9 @@ #include "dpaa_eth.h" #include "dpaa_eth_common.h" +#ifdef CONFIG_FSL_DPAA_1588 #include "dpaa_1588.h" +#endif /* Convenience macros for storing/retrieving the skb back-pointers. They must * accommodate both recycling and confirmation paths - i.e. cases when the buf |