From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754919AbdDLTYe (ORCPT ); Wed, 12 Apr 2017 15:24:34 -0400 Received: from merlin.infradead.org ([205.233.59.134]:43870 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbdDLTYc (ORCPT ); Wed, 12 Apr 2017 15:24:32 -0400 Subject: Re: [PATCH -next] imx7: fix Kconfig warning and build errors To: Fabio Estevam References: <47fc2167-bf0a-866a-e075-8247a10aa6e0@infradead.org> Cc: LKML , Fabio Estevam , Andrew Morton , Shawn Guo , "linux-arm-kernel@lists.infradead.org" , Sascha Hauer From: Randy Dunlap Message-ID: <8f538f2f-320a-78bb-1008-8e27908f8cf9@infradead.org> Date: Wed, 12 Apr 2017 12:24:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/12/17 11:26, Fabio Estevam wrote: > On Wed, Apr 12, 2017 at 3:22 PM, Randy Dunlap wrote: > >> --- linux-next-20170412.orig/drivers/soc/imx/Kconfig >> +++ linux-next-20170412/drivers/soc/imx/Kconfig >> @@ -2,6 +2,7 @@ menu "i.MX SoC drivers" >> >> config IMX7_PM_DOMAINS >> bool "i.MX7 PM domains" >> + depends on PM >> select PM_GENERIC_DOMAINS > > Could this be: > > select PM_GENERIC_DOMAINS if PM instead? > You want IMX7_PM_DOMAINS to be built without having PM_GENERIC_DOMAINS enabled? On x86, your suggestion works for me... because of this in drivers/soc/Makefile: obj-$(CONFIG_ARCH_MXC) += imx/ and I don't have CONFIG_ARCH_MXC, so the gpc* binaries are not being built at all. This might be a small bug. -- ~Randy