You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/layerscape/patches-4.4/7214-staging-fsl-dpaa2-mac-...

27 lines
825 B
Diff

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,
},
{}
};