mtd: fix build with GCC 14
[openwrt/openwrt.git] / target / linux / generic / backport-6.1 / 791-v6.3-05-net-phy-motorcomm-change-the-phy-id-of-yt8521-and-yt8531s.patch
1 From 3c1dc22162d673d595855d24f95200ed2643f88f Mon Sep 17 00:00:00 2001
2 From: Frank Sae <Frank.Sae@motor-comm.com>
3 Date: Sat, 28 Jan 2023 14:35:58 +0800
4 Subject: [PATCH] net: phy: motorcomm: change the phy id of yt8521 and yt8531s
5 to lowercase
6
7 The phy id is usually defined in lower case.
8
9 Signed-off-by: Frank Sae <Frank.Sae@motor-comm.com>
10 Reviewed-by: Andrew Lunn <andrew@lunn.ch>
11 Link: https://lore.kernel.org/r/20230128063558.5850-2-Frank.Sae@motor-comm.com
12 Signed-off-by: Jakub Kicinski <kuba@kernel.org>
13 ---
14 drivers/net/phy/motorcomm.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17 --- a/drivers/net/phy/motorcomm.c
18 +++ b/drivers/net/phy/motorcomm.c
19 @@ -12,8 +12,8 @@
20 #include <linux/phy.h>
21
22 #define PHY_ID_YT8511 0x0000010a
23 -#define PHY_ID_YT8521 0x0000011A
24 -#define PHY_ID_YT8531S 0x4F51E91A
25 +#define PHY_ID_YT8521 0x0000011a
26 +#define PHY_ID_YT8531S 0x4f51e91a
27
28 /* YT8521/YT8531S Register Overview
29 * UTP Register space | FIBER Register space