740-net-phy-motorcomm-Add-missing-include.patch 642 B

12345678910111213141516171819202122
  1. From 6f291aa7da199c6486cc229b055dcbcd5cee7a21 Mon Sep 17 00:00:00 2001
  2. From: Hauke Mehrtens <[email protected]>
  3. Date: Sun, 21 May 2023 22:24:56 +0200
  4. Subject: [PATCH] net: phy: motorcomm: Add missing include
  5. Directly include linux/bitfield.h which provides FIELD_PREP.
  6. Signed-off-by: Hauke Mehrtens <[email protected]>
  7. ---
  8. drivers/net/phy/motorcomm.c | 1 +
  9. 1 file changed, 1 insertion(+)
  10. --- a/drivers/net/phy/motorcomm.c
  11. +++ b/drivers/net/phy/motorcomm.c
  12. @@ -6,6 +6,7 @@
  13. * Author: Frank <[email protected]>
  14. */
  15. +#include <linux/bitfield.h>
  16. #include <linux/etherdevice.h>
  17. #include <linux/kernel.h>
  18. #include <linux/module.h>