7206-fsl-dpaa2-eth-match-id-cleanup.patch 863 B

1234567891011121314151617181920212223242526
  1. From 7e536d0c2f870b39480268c20af6fc3d21abe611 Mon Sep 17 00:00:00 2001
  2. From: Stuart Yoder <stuart.yoder@nxp.com>
  3. Date: Wed, 15 Jun 2016 14:03:43 -0500
  4. Subject: [PATCH 206/226] fsl-dpaa2: eth: match id cleanup
  5. Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
  6. ---
  7. drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 4 +---
  8. 1 file changed, 1 insertion(+), 3 deletions(-)
  9. --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
  10. +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
  11. @@ -2787,12 +2787,10 @@ static int dpaa2_eth_remove(struct fsl_m
  12. return 0;
  13. }
  14. -static const struct fsl_mc_device_match_id dpaa2_eth_match_id_table[] = {
  15. +static const struct fsl_mc_device_id dpaa2_eth_match_id_table[] = {
  16. {
  17. .vendor = FSL_MC_VENDOR_FREESCALE,
  18. .obj_type = "dpni",
  19. - .ver_major = DPNI_VER_MAJOR,
  20. - .ver_minor = DPNI_VER_MINOR
  21. },
  22. { .vendor = 0x0 }
  23. };