openwrt/target/linux/layerscape/patches-4.4/7219-dpaa2-evb-match-id-cle...

27 lines
783 B
Diff

From 744bd6494a51443c2a7d32ed76e94e4fc5bd2404 Mon Sep 17 00:00:00 2001
From: Stuart Yoder <stuart.yoder@nxp.com>
Date: Thu, 14 Jul 2016 17:32:23 -0500
Subject: [PATCH 219/226] dpaa2-evb: match id cleanup
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
---
drivers/staging/fsl-dpaa2/evb/evb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
--- a/drivers/staging/fsl-dpaa2/evb/evb.c
+++ b/drivers/staging/fsl-dpaa2/evb/evb.c
@@ -1205,12 +1205,10 @@ err_free_netdev:
return err;
}
-static const struct fsl_mc_device_match_id evb_match_id_table[] = {
+static const struct fsl_mc_device_id evb_match_id_table[] = {
{
.vendor = FSL_MC_VENDOR_FREESCALE,
.obj_type = "dpdmux",
- .ver_major = DPDMUX_VER_MAJOR,
- .ver_minor = DPDMUX_VER_MINOR,
},
{}
};