layerscape: add ls1088ardb device support
[openwrt/staging/lynxis/omap.git] / target / linux / layerscape / patches-4.4 / 7221-dpaa2-ethsw-match-id-cleanup.patch
1 From 535826c8b725f752e5da17ea576d6d96e7d53f13 Mon Sep 17 00:00:00 2001
2 From: Stuart Yoder <stuart.yoder@nxp.com>
3 Date: Fri, 15 Jul 2016 13:13:41 -0500
4 Subject: [PATCH 221/226] dpaa2-ethsw: match id cleanup
5
6 Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
7 ---
8 drivers/staging/fsl-dpaa2/ethsw/switch.c | 4 +---
9 1 file changed, 1 insertion(+), 3 deletions(-)
10
11 --- a/drivers/staging/fsl-dpaa2/ethsw/switch.c
12 +++ b/drivers/staging/fsl-dpaa2/ethsw/switch.c
13 @@ -1685,12 +1685,10 @@ err_free_netdev:
14 return err;
15 }
16
17 -static const struct fsl_mc_device_match_id ethsw_match_id_table[] = {
18 +static const struct fsl_mc_device_id ethsw_match_id_table[] = {
19 {
20 .vendor = FSL_MC_VENDOR_FREESCALE,
21 .obj_type = "dpsw",
22 - .ver_major = DPSW_VER_MAJOR,
23 - .ver_minor = DPSW_VER_MINOR,
24 },
25 {}
26 };