linux/drivers/platform/olpc
Lubomir Rintel af21f32c78 Platform: OLPC: Require CONFIG_POWER_SUPPLY for XO-1.75 EC
ERROR: "power_supply_put" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!
  ERROR: "power_supply_changed" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!
  ERROR: "power_supply_get_by_name" [drivers/platform/olpc/olpc-xo175-ec.ko] undefined!

Adding the dependency seems like a more reasonable thing compared to
ifdef-ing the bits, as if one has an XO-1.75 they almost certainly want
a baterry and AC adapter support.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2019-06-12 11:53:17 +03:00
..
Kconfig Platform: OLPC: Require CONFIG_POWER_SUPPLY for XO-1.75 EC 2019-06-12 11:53:17 +03:00
Makefile Platform: OLPC: Add XO-1.75 EC driver 2019-05-20 17:27:08 +03:00
olpc-ec.c Platform: OLPC: Add a regulator for the DCON 2019-05-20 17:27:08 +03:00
olpc-xo175-ec.c Platform: OLPC: Fix olpc_xo175_ec_cmd() return value 2019-06-12 11:53:10 +03:00