]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc/powernv: Enable LEDS support
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>
Thu, 27 Aug 2015 06:04:10 +0000 (11:34 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 27 Aug 2015 10:08:44 +0000 (20:08 +1000)
Commit 84ad6e5c added LEDS support for PowerNV platform. Lets
update ppc64_defconfig to pick LEDS driver.

PowerNV LEDS driver looks for "/ibm,opal/leds" node in device
tree and loads if this node exists. Hence added it as 'm'.

Also note that powernv LEDS driver needs NEW_LEDS and LEDS_CLASS
as well. Hence added them to config file.

mpe: Also add them to pseries_defconfig, which is currently also used
for powernv systems.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Cc: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/configs/ppc64_defconfig
arch/powerpc/configs/pseries_defconfig

index a97efc2146fdfe949bf0f569c549497d4dc5c6cf..6bc0ee4b1070a83de003d1c74ec64f818bd3dacb 100644 (file)
@@ -355,3 +355,6 @@ CONFIG_CRYPTO_DEV_NX_ENCRYPT=m
 CONFIG_VIRTUALIZATION=y
 CONFIG_KVM_BOOK3S_64=m
 CONFIG_KVM_BOOK3S_64_HV=m
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_POWERNV=m
index 2404271ec4aeb14e588f2366b366562ef4f29e52..7991f37e5fe2a174fd3284a4fb1b5e72d2ab267a 100644 (file)
@@ -320,3 +320,6 @@ CONFIG_CRYPTO_DEV_NX_ENCRYPT=m
 CONFIG_VIRTUALIZATION=y
 CONFIG_KVM_BOOK3S_64=m
 CONFIG_KVM_BOOK3S_64_HV=m
+CONFIG_NEW_LEDS=y
+CONFIG_LEDS_CLASS=m
+CONFIG_LEDS_POWERNV=m