1 From 1a1f2bd221d72f8e4fcb66b6b6763a158965f746 Mon Sep 17 00:00:00 2001
2 From: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
3 Date: Mon, 11 Sep 2017 16:10:58 +0300
4 Subject: [PATCH] sdk_fman: resolve arm32 compilation issues for linux-4.13
6 Signed-off-by: Iordache Florinel-R70177 <florinel.iordache@nxp.com>
8 drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c | 2 ++
9 .../ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c | 2 ++
10 .../ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c | 2 ++
11 drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c | 2 ++
12 drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c | 2 ++
13 drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c | 2 ++
14 6 files changed, 12 insertions(+)
16 --- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c
17 +++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec.c
23 +#include "error_ext.h"
24 #include "fsl_fman_dtsec.h"
27 --- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c
28 +++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_dtsec_mii_acc.c
34 +#include "error_ext.h"
35 #include "common/general.h"
36 #include "fsl_fman_dtsec_mii_acc.h"
38 --- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c
39 +++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/MAC/fman_memac_mii_acc.c
45 +#include "error_ext.h"
46 #include "fsl_fman_memac_mii_acc.h"
48 static void write_phy_reg_10g(struct memac_mii_access_mem_map *mii_regs,
49 --- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c
50 +++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Pcd/fman_kg.c
52 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
56 +#include "error_ext.h"
57 #include "fsl_fman_kg.h"
59 /****************************************/
60 --- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c
61 +++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/Port/fman_port.c
67 +#include "error_ext.h"
68 #include "common/general.h"
70 #include "fman_common.h"
71 --- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
72 +++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
78 +#include "error_ext.h"
79 #include <linux/math64.h>
81 #include "dpaa_integration_ext.h"