7221-dpaa2-ethsw-match-id-cleanup.patch 798 B

1234567891011121314151617181920212223242526
  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. Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
  6. ---
  7. drivers/staging/fsl-dpaa2/ethsw/switch.c | 4 +---
  8. 1 file changed, 1 insertion(+), 3 deletions(-)
  9. --- a/drivers/staging/fsl-dpaa2/ethsw/switch.c
  10. +++ b/drivers/staging/fsl-dpaa2/ethsw/switch.c
  11. @@ -1685,12 +1685,10 @@ err_free_netdev:
  12. return err;
  13. }
  14. -static const struct fsl_mc_device_match_id ethsw_match_id_table[] = {
  15. +static const struct fsl_mc_device_id ethsw_match_id_table[] = {
  16. {
  17. .vendor = FSL_MC_VENDOR_FREESCALE,
  18. .obj_type = "dpsw",
  19. - .ver_major = DPSW_VER_MAJOR,
  20. - .ver_minor = DPSW_VER_MINOR,
  21. },
  22. {}
  23. };