Message ID | 20190110175845.1203986-9-lkundrak@v3.sk (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | Add support for OLPC XO 1.75 Embedded Controller | expand |
Hi, On Thu, Jan 10, 2019 at 06:58:43PM +0100, Lubomir Rintel wrote: > With the recent changes to the driver and addition of OLPC XO-1.75 EC > driver it is possible to use this driver on ARM-based XO laptops as > well. > > Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> > --- This looks simple enough to not cause a big mess when merged through x86 platform tree: Acked-by: Sebastian Reichel <sre@kernel.org> -- Sebastian > drivers/power/supply/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig > index e901b9879e7e..66e4d1958de3 100644 > --- a/drivers/power/supply/Kconfig > +++ b/drivers/power/supply/Kconfig > @@ -151,7 +151,7 @@ config BATTERY_PMU > > config BATTERY_OLPC > tristate "One Laptop Per Child battery" > - depends on X86_32 && OLPC > + depends on OLPC_EC > help > Say Y to enable support for the battery on the OLPC laptop. > > -- > 2.20.1 >
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index e901b9879e7e..66e4d1958de3 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -151,7 +151,7 @@ config BATTERY_PMU config BATTERY_OLPC tristate "One Laptop Per Child battery" - depends on X86_32 && OLPC + depends on OLPC_EC help Say Y to enable support for the battery on the OLPC laptop.
With the recent changes to the driver and addition of OLPC XO-1.75 EC driver it is possible to use this driver on ARM-based XO laptops as well. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> --- drivers/power/supply/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)