From patchwork Wed Dec 2 05:59:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7742891 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E92BD9F350 for ; Wed, 2 Dec 2015 05:59:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E2F520460 for ; Wed, 2 Dec 2015 05:59:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4278920456 for ; Wed, 2 Dec 2015 05:59:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751956AbbLBF7c (ORCPT ); Wed, 2 Dec 2015 00:59:32 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:8257 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbbLBF7S (ORCPT ); Wed, 2 Dec 2015 00:59:18 -0500 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYP00AA3VASD780@mailout4.w1.samsung.com>; Wed, 02 Dec 2015 05:59:16 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-d8-565e88b4eb88 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 96.E4.16778.4B88E565; Wed, 2 Dec 2015 05:59:16 +0000 (GMT) Received: from localhost.localdomain ([10.113.63.52]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NYP00EJTVAHTR10@eusync2.samsung.com>; Wed, 02 Dec 2015 05:59:15 +0000 (GMT) From: Krzysztof Kozlowski To: Sebastian Reichel , Dmitry Eremin-Solenikov , David Woodhouse , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: Pavel Fedin , Arnd Bergmann , Olof Johansson , Krzysztof Kozlowski Subject: [PATCH 2/2] power: Build power/avs when POWER_AVS is selected but POWER_SUPPLY is not Date: Wed, 02 Dec 2015 14:59:07 +0900 Message-id: <1449035947-16758-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1449035947-16758-1-git-send-email-k.kozlowski@samsung.com> References: <1449035947-16758-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMLMWRmVeSWpSXmKPExsVy+t/xK7pbOuLCDLY+Y7T4O+kYu8WkJ++Z LSaunMxs0bx4PZvF6xeGFpd3zWGz+Nx7hNFixvl9TBanrn9ms3h1aRWbxendJQ7cHr9/TWL0 2DnrLrvH5hVaHptWdbJ57J+7ht3jyokmVo++LasYPT5vkgvgiOKySUnNySxLLdK3S+DK2Lvg EVPBd66Kd9N2sDYwrufsYuTkkBAwkZg0sYcdwhaTuHBvPRuILSSwlFHiV7txFyMXkP2fUWLO 0yssIAk2AWOJzcuXgBWJCExkkpj7shqkiFlgGqPE+xvrWUESwgIJEj9/LGAEsVkEVCUaHjcy gdi8Au4SLdeuMUJsk5M4eWwyWD2ngIfEzyfngGwOoG3uEk96oiYw8i5gZFjFKJpamlxQnJSe a6hXnJhbXJqXrpecn7uJERKUX3YwLj5mdYhRgINRiYd3BU9cmBBrYllxZe4hRgkOZiURXi8Z oBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeubvehwgJpCeWpGanphakFsFkmTg4pRoYJdTkBW5/ CRNs4SxJbO72PcWfN2XtrsLjcUbM1c+UFgqcUWVe1WJpdO9ZxHPW+GeLuBtXvxCsfbFmufGf 2C7WGzFOelFh9++cZ+6b1PbJU+SiXlJaOmf0kkXLCzNMLzA96OC7cv+E6W4/sYs9YhE/ljYu TsjhzU4z2FZ27+K0fzmyeyaYHjukxFKckWioxVxUnAgACdirbkYCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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