Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1281464

[PATCH 2/2] power: Build power/avs when POWER_AVS is selected but POWER_SUPPLY is not

From Krzysztof Kozlowski <k.kozlowski@samsung.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] power: Build power/avs when POWER_AVS is selected but POWER_SUPPLY is not
Date 2015-12-02 07:00 +0100
Message-ID <qB8Cm-359-7@gated-at.bofh.it> (permalink)
References <qB8Cm-359-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


POWER_AVS can be selected from top-drivers menu and it does not depend
on POWER_SUPPLY. However in such case (POWER_SUPPLY is not enabled) all
objects will be skipped by make.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 drivers/Makefile       | 1 +
 drivers/power/Makefile | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 0ebb49d0e57e..a3717decf3e7 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -106,6 +106,7 @@ obj-y				+= i2c/ media/
 obj-$(CONFIG_PPS)		+= pps/
 obj-$(CONFIG_PTP_1588_CLOCK)	+= ptp/
 obj-$(CONFIG_W1)		+= w1/
+obj-$(CONFIG_POWER_AVS)		+= power/avs/
 obj-$(CONFIG_POWER_RESET)	+= power/reset/
 obj-$(CONFIG_POWER_SUPPLY)	+= power/
 obj-$(CONFIG_HWMON)		+= hwmon/
diff --git a/drivers/power/Makefile b/drivers/power/Makefile
index ac430b373f84..d6a1ddb20fec 100644
--- a/drivers/power/Makefile
+++ b/drivers/power/Makefile
@@ -65,7 +65,6 @@ obj-$(CONFIG_CHARGER_BQ24190)	+= bq24190_charger.o
 obj-$(CONFIG_CHARGER_BQ24257)	+= bq24257_charger.o
 obj-$(CONFIG_CHARGER_BQ24735)	+= bq24735-charger.o
 obj-$(CONFIG_CHARGER_BQ25890)	+= bq25890_charger.o
-obj-$(CONFIG_POWER_AVS)		+= avs/
 obj-$(CONFIG_CHARGER_SMB347)	+= smb347-charger.o
 obj-$(CONFIG_CHARGER_TPS65090)	+= tps65090-charger.o
 obj-$(CONFIG_CHARGER_TPS65217)	+= tps65217_charger.o
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] power: Fix unmet dependency on POWER_SUPPLY by POWER_RESET  by uncoupling them Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-12-02 07:00 +0100
  [PATCH 2/2] power: Build power/avs when POWER_AVS is selected but  POWER_SUPPLY is not Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-12-02 07:00 +0100
  Re: [PATCH 1/2] power: Fix unmet dependency on POWER_SUPPLY by  POWER_RESET by uncoupling them Sebastian Reichel <sre@kernel.org> - 2015-12-05 02:00 +0100
    Re: [PATCH 1/2] power: Fix unmet dependency on POWER_SUPPLY by  POWER_RESET by uncoupling them Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-12-07 03:20 +0100

csiph-web