Skip to content

Commit fce55cc

Browse files
Ed Wildgooseandy-shev
authored andcommitted
platform/x86: pcengines-apuv2: Fix typo on define of AMD_FCH_GPIO_REG_GPIO55_DEVSLP0
Schematics show that the GPIO number is 55 (not 59). Trivial typo. Signed-off-by: Ed Wildgoose <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent afdd1eb commit fce55cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/platform/x86/pcengines-apuv2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#define APU2_GPIO_REG_LED3 AMD_FCH_GPIO_REG_GPIO59_DEVSLP1
3333
#define APU2_GPIO_REG_MODESW AMD_FCH_GPIO_REG_GPIO32_GE1
3434
#define APU2_GPIO_REG_SIMSWAP AMD_FCH_GPIO_REG_GPIO33_GE2
35-
#define APU2_GPIO_REG_MPCIE2 AMD_FCH_GPIO_REG_GPIO59_DEVSLP0
35+
#define APU2_GPIO_REG_MPCIE2 AMD_FCH_GPIO_REG_GPIO55_DEVSLP0
3636
#define APU2_GPIO_REG_MPCIE3 AMD_FCH_GPIO_REG_GPIO51
3737

3838
/* Order in which the GPIO lines are defined in the register list */

include/linux/platform_data/gpio/gpio-amd-fch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define AMD_FCH_GPIO_REG_GPIO49 0x40
2020
#define AMD_FCH_GPIO_REG_GPIO50 0x41
2121
#define AMD_FCH_GPIO_REG_GPIO51 0x42
22-
#define AMD_FCH_GPIO_REG_GPIO59_DEVSLP0 0x43
22+
#define AMD_FCH_GPIO_REG_GPIO55_DEVSLP0 0x43
2323
#define AMD_FCH_GPIO_REG_GPIO57 0x44
2424
#define AMD_FCH_GPIO_REG_GPIO58 0x45
2525
#define AMD_FCH_GPIO_REG_GPIO59_DEVSLP1 0x46

0 commit comments

Comments
 (0)