net: phy: dp83640: Drop unused PAGE0 define
Subsystems (4)
PATCH 1/1 net: phy: dp83640: Drop unused PAGE0 define
parisc:allmodconfig fails to build with the following error.
In file included from drivers/net/phy/dp83640.c:23:drivers/net/phy/dp83640_reg.h:8: error: "PAGE0" redefined
The dp83640 driver does not use this define, so just remove it.
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/net/phy/dp83640_reg.h | 1 - 1 file changed, 1 deletion(-)
drivers/net/phy/dp83640_reg.h +0 -1
@@ -5,7 +5,6 @@#ifndef HAVE_DP83640_REGISTERS #define HAVE_DP83640_REGISTERS -#define PAGE0 0x0000#define PHYCR2 0x001c/* PHY Control Register 2 */ #define PAGE4 0x0004
Signature · 1 line
2.33.0
Quoted 18 lines · Guenter Roeck
parisc:allmodconfig fails to build with the following error.
In file included from
drivers/net/phy/dp83640.c:23:drivers/net/phy/dp83640_reg.h:8: error: "PAGE0" redefinedThe dp83640 driver does not use this define, so just remove it.
Signed-off-by Guenter Roeck <[email protected]>--- drivers/net/phy/dp83640_reg.h | 1 - 1 file changed, 1 deletion(-)drivers/net/phy/dp83640_reg.h +0
-0
drivers/net/phy/dp83640_reg.h line 10
Quoted 7 lines
drivers/net/phy/dp83640_reg.h +0
-1@@ -5,7 +5,6 @@#ifndef HAVE_DP83640_REGISTERS #define HAVE_DP83640_REGISTERS -#define PAGE0 0x0000#define PHYCR2 0x001c/* PHY Control Register 2 */ #define PAGE4 0x0004
Sorry for the noise. I just learned that the problem is already fixed.
Guenter