openwrt-owl/target/linux/layerscape/patches-4.4/7221-dpaa2-ethsw-match-id-c...

27 lines
798 B
Diff

From 535826c8b725f752e5da17ea576d6d96e7d53f13 Mon Sep 17 00:00:00 2001
From: Stuart Yoder <stuart.yoder@nxp.com>
Date: Fri, 15 Jul 2016 13:13:41 -0500
Subject: [PATCH 221/226] dpaa2-ethsw: match id cleanup
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
---
drivers/staging/fsl-dpaa2/ethsw/switch.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/drivers/staging/fsl-dpaa2/ethsw/switch.c
+++ b/drivers/staging/fsl-dpaa2/ethsw/switch.c
@@ -1685,12 +1685,10 @@ err_free_netdev:
return err;
}
-static const struct fsl_mc_device_match_id ethsw_match_id_table[] = {
+static const struct fsl_mc_device_id ethsw_match_id_table[] = {
{
.vendor = FSL_MC_VENDOR_FREESCALE,
.obj_type = "dpsw",
- .ver_major = DPSW_VER_MAJOR,
- .ver_minor = DPSW_VER_MINOR,
},
{}
};