Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751192AbaKQGTM (ORCPT ); Mon, 17 Nov 2014 01:19:12 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:43728 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755AbaKQGTI (ORCPT ); Mon, 17 Nov 2014 01:19:08 -0500 X-AuditID: cbfee690-f79ab6d0000046f7-22-54699359f618 From: Pankaj Dubey To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: rjw@rjwysocki.net, pavel@ucw.cz, len.brown@intel.com, linux@arm.linux.org.uk, nico@linaro.org, ccross@android.com, Pankaj Dubey Subject: [PATCH v2] cpu_pm: fix unmet dependency for CPU_PM Date: Mon, 17 Nov 2014 11:42:44 +0530 Message-id: <1416204764-8912-1-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCLMWRmVeSWpSXmKPExsWyRsSkVjdycmaIQcdubYvtG7+xWsyaspfJ YtPja6wWl3fNYbP43HuE0eL2ZV6L6cf+slks2vqF3eLuqaNsFmdOX2J14PLYtnsbq0dLcw+b x+I9L5k87lzbw+axeUm9x5ar7SwefVtWMXqsWP2d3ePzJrkAzigum5TUnMyy1CJ9uwSujGud t9gLmtgr7s6Ra2B8yNrFyMkhIWAicWflKihbTOLCvfVsXYxcHEICSxklVj/eywZTtHrnElaI xHRGidaZC5ghnAlMEt3/XzGBVLEJ6Eo8eT+XGcQWEUiSmLp6MlgHs8AiRolNi96DjRIWsJY4 tvA4I4jNIqAq8XDGTBYQm1fAXeJe4xf2LkYOoHUKEnMm2YD0SghsYpfo7NjDAlEvIPFt8iEW iBpZiU0HmCGuk5Q4uOIGywRGwQWMDKsYRVMLkguKk9KLTPSKE3OLS/PS9ZLzczcxAgP/9L9n E3Yw3jtgfYhRgINRiYd3R3ZmiBBrY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PgwmNun5BS+Y hJlKtqnV7vn4sDOo23XR/22xbRs3h33eKeBtfen6Svec/f6PDULP8jddVb4Wfv6vWt7XNCWW 4oxEQy3mouJEAK4bU0DBAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If BL_SWITCHER is enabled but SUSPEND and CPU_IDLE is not enabled we are getting following config warning. warning: (BL_SWITCHER) selects CPU_PM which has unmet direct dependencies (SUSPEND || CPU_IDLE) It has been noticed that CPU_PM dependencies in this file are not really required so let's remove these dependencies from CPU_PM. Signed-off-by: Pankaj Dubey --- This patch is second attempt to fix this config issue. Patch v1 and related discussion can be found here [1] 1: https://lkml.org/lkml/2014/11/14/673 kernel/power/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index bbef57f..1eb7da7 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -308,4 +308,3 @@ config PM_GENERIC_DOMAINS_OF config CPU_PM bool - depends on SUSPEND || CPU_IDLE -- 1.7.9.5 -- 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/