diff options
Diffstat (limited to 'target/linux/layerscape/patches-4.4/7214-staging-fsl-dpaa2-mac-match-id-cleanup.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.4/7214-staging-fsl-dpaa2-mac-match-id-cleanup.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/layerscape/patches-4.4/7214-staging-fsl-dpaa2-mac-match-id-cleanup.patch b/target/linux/layerscape/patches-4.4/7214-staging-fsl-dpaa2-mac-match-id-cleanup.patch new file mode 100644 index 0000000000..850d0e630c --- /dev/null +++ b/target/linux/layerscape/patches-4.4/7214-staging-fsl-dpaa2-mac-match-id-cleanup.patch @@ -0,0 +1,26 @@ +From 137f5f17bad655024d18123b1be696ad6b9ec729 Mon Sep 17 00:00:00 2001 +From: Stuart Yoder <stuart.yoder@nxp.com> +Date: Wed, 15 Jun 2016 14:04:32 -0500 +Subject: [PATCH 214/226] staging: fsl-dpaa2/mac: match id cleanup + +Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com> +--- + drivers/staging/fsl-dpaa2/mac/mac.c | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +--- a/drivers/staging/fsl-dpaa2/mac/mac.c ++++ b/drivers/staging/fsl-dpaa2/mac/mac.c +@@ -670,12 +670,10 @@ static int dpaa2_mac_remove(struct fsl_m + return 0; + } + +-static const struct fsl_mc_device_match_id dpaa2_mac_match_id_table[] = { ++static const struct fsl_mc_device_id dpaa2_mac_match_id_table[] = { + { + .vendor = FSL_MC_VENDOR_FREESCALE, + .obj_type = "dpmac", +- .ver_major = DPMAC_VER_MAJOR, +- .ver_minor = DPMAC_VER_MINOR, + }, + {} + }; |