Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <lists@wildgooses.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

authored by

Ed Wildgoose and committed by
Andy Shevchenko
fce55cc8 afdd1ebb

+2 -2
+1 -1
drivers/platform/x86/pcengines-apuv2.c
··· 32 32 #define APU2_GPIO_REG_LED3 AMD_FCH_GPIO_REG_GPIO59_DEVSLP1 33 33 #define APU2_GPIO_REG_MODESW AMD_FCH_GPIO_REG_GPIO32_GE1 34 34 #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 36 36 #define APU2_GPIO_REG_MPCIE3 AMD_FCH_GPIO_REG_GPIO51 37 37 38 38 /* Order in which the GPIO lines are defined in the register list */
+1 -1
include/linux/platform_data/gpio/gpio-amd-fch.h
··· 19 19 #define AMD_FCH_GPIO_REG_GPIO49 0x40 20 20 #define AMD_FCH_GPIO_REG_GPIO50 0x41 21 21 #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 23 23 #define AMD_FCH_GPIO_REG_GPIO57 0x44 24 24 #define AMD_FCH_GPIO_REG_GPIO58 0x45 25 25 #define AMD_FCH_GPIO_REG_GPIO59_DEVSLP1 0x46