7207-fsl-dpaa2-eth-add-device-table-to-driver.patch 738 B

12345678910111213141516171819202122
  1. From 8557c8a3823b341607e16048d8318a1958eab3a9 Mon Sep 17 00:00:00 2001
  2. From: Stuart Yoder <stuart.yoder@nxp.com>
  3. Date: Thu, 12 May 2016 17:52:28 -0500
  4. Subject: [PATCH 207/226] fsl-dpaa2: eth: add device table to driver
  5. this is needed to have the driver loaded as a module
  6. Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
  7. ---
  8. drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 1 +
  9. 1 file changed, 1 insertion(+)
  10. --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
  11. +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
  12. @@ -2794,6 +2794,7 @@ static const struct fsl_mc_device_id dpa
  13. },
  14. { .vendor = 0x0 }
  15. };
  16. +MODULE_DEVICE_TABLE(fslmc, dpaa2_eth_match_id_table);
  17. static struct fsl_mc_driver dpaa2_eth_driver = {
  18. .driver = {