mtd: fix build with GCC 14
[openwrt/openwrt.git] / target / linux / generic / pending-5.15 / 740-net-phy-motorcomm-Add-missing-include.patch
1 From 6f291aa7da199c6486cc229b055dcbcd5cee7a21 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sun, 21 May 2023 22:24:56 +0200
4 Subject: [PATCH] net: phy: motorcomm: Add missing include
5
6 Directly include linux/bitfield.h which provides FIELD_PREP.
7
8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 ---
10 drivers/net/phy/motorcomm.c | 1 +
11 1 file changed, 1 insertion(+)
12
13 --- a/drivers/net/phy/motorcomm.c
14 +++ b/drivers/net/phy/motorcomm.c
15 @@ -6,6 +6,7 @@
16 * Author: Frank <Frank.Sae@motor-comm.com>
17 */
18
19 +#include <linux/bitfield.h>
20 #include <linux/etherdevice.h>
21 #include <linux/kernel.h>
22 #include <linux/module.h>