]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/powernv: Fix mis-merge of OPAL support for LEDS driver
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 21 Aug 2015 23:33:55 +0000 (09:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 22 Aug 2015 11:09:12 +0000 (21:09 +1000)
commit5d53be7d8c7ccf8eec1ce66c6b3573c01d16b755
tree0976fb382b1cda4158129a37716ea8d0a16d45f8
parente72bb8a5a884d022231149d407653923a1d79e53
powerpc/powernv: Fix mis-merge of OPAL support for LEDS driver

When I merged the OPAL support for the powernv LEDS driver I missed a
hunk.

This is slightly modified from the original patch, as the original added
code to opal-api.h which is not in the skiboot version, which is
discouraged.

Instead those values are moved into the driver, which is the only place
they are used.

Fixes: 8a8d91817aec ("powerpc/powernv: Add OPAL interfaces for accessing and modifying system LED states")
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal-api.h
drivers/leds/leds-powernv.c