From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936334AbcA0Wzd (ORCPT ); Wed, 27 Jan 2016 17:55:33 -0500 Received: from v094114.home.net.pl ([79.96.170.134]:51324 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S934086AbcA0Wz3 (ORCPT ); Wed, 27 Jan 2016 17:55:29 -0500 From: "Rafael J. Wysocki" To: Arnd Bergmann Cc: Pavel Machek , Len Brown , linux-arm-kernel@lists.infradead.org, Jiri Kosina , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] power: APM_EMULATION does not depend on PM Date: Wed, 27 Jan 2016 23:56:22 +0100 Message-ID: <8245283.jd8eAvEnqE@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.5.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1453736913-1959469-1-git-send-email-arnd@arndb.de> References: <1453736913-1959469-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday, January 25, 2016 04:48:28 PM Arnd Bergmann wrote: > The APM emulation code does multiple things, and some of them depend on > PM_SLEEP, while the battery management does not. However, selecting > the symbol like SHARPSL_PM does causes a Kconfig warning: > > warning: (SHARPSL_PM && PMAC_APM_EMU) selects APM_EMULATION which has unmet direct dependencies (PM && SYS_SUPPORTS_APM_EMULATION) > > From all I can tell, this is completely harmless, and we can simply allow > APM_EMULATION to be enabled here, even if PM is not. > > Signed-off-by: Arnd Bergmann Applied, thanks! Rafael