diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2018-11-17 11:24:56 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-11-26 12:33:37 +0100 |
commit | d7cceda96badc1bd444cff27ab9c375a1277c1e3 (patch) | |
tree | 62238e4ef5640373dd821b3e9eaf1f68ab970d44 /arch/powerpc/kernel/sysfs.c | |
parent | drivers/cpufreq: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32 (diff) | |
download | linux-d7cceda96badc1bd444cff27ab9c375a1277c1e3.tar.xz linux-d7cceda96badc1bd444cff27ab9c375a1277c1e3.zip |
powerpc: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32
Today we have:
config PPC_BOOK3S_32
bool "512x/52xx/6xx/7xx/74xx/82xx/83xx/86xx"
[depends on PPC32 within a choice]
config PPC_BOOK3S
def_bool y
depends on PPC_BOOK3S_32 || PPC_BOOK3S_64
config 6xx
def_bool y
depends on PPC32 && PPC_BOOK3S
6xx is therefore redundant with PPC_BOOK3S_32.
In order to make the code clearer, lets use preferably PPC_BOOK3S_32.
This will allow to remove CONFIG_6xx in a later patch.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/sysfs.c')
-rw-r--r-- | arch/powerpc/kernel/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 755dc98a57ae..e8e93c2c7d03 100644 --- a/arch/powerpc/kernel/sysfs.c +++ b/arch/powerpc/kernel/sysfs.c @@ -457,7 +457,7 @@ static ssize_t __used \ #define HAS_PPC_PMC_CLASSIC 1 #define HAS_PPC_PMC_IBM 1 #define HAS_PPC_PMC_PA6T 1 -#elif defined(CONFIG_6xx) +#elif defined(CONFIG_PPC_BOOK3S_32) #define HAS_PPC_PMC_CLASSIC 1 #define HAS_PPC_PMC_IBM 1 #define HAS_PPC_PMC_G4 1 |