Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757620Ab2FABnk (ORCPT ); Thu, 31 May 2012 21:43:40 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:43995 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756880Ab2FABnj convert rfc822-to-8bit (ORCPT ); Thu, 31 May 2012 21:43:39 -0400 MIME-Version: 1.0 In-Reply-To: <20120531111247.GA9089@faui49q.informatik.uni-erlangen.de> References: <20120531111247.GA9089@faui49q.informatik.uni-erlangen.de> Date: Fri, 1 Jun 2012 09:43:38 +0800 Message-ID: Subject: Re: [PATCH] gpio/msm_v1: CONFIG_GPIO_MSM_V1 is only available on three SoCs From: Linus Walleij To: Christian Dietrich Cc: Grant Likely , Linus Walleij , linux-kernel@vger.kernel.org, vamos-dev@lists.cs.fau.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1125 Lines: 26 On Thu, May 31, 2012 at 7:12 PM, Christian Dietrich wrote: > The feature GPIO_MSM_V1 is only available on three SoCs. On all other MSM SoCs > the INT_GPIO_GROUP{1,2} is undeclared, but Kconfig does allow such > configurations. Therefore the produced configuration is valid, but does not > compile. The problem is fixed by adding the missing Kconfig constraints. > > drivers/gpio/gpio-msm-v1.c: In function ? ?msm_init_gpio? ?: > drivers/gpio/gpio-msm-v1.c:629:26: error: 'INT_GPIO_GROUP1' undeclared > drivers/gpio/gpio-msm-v1.c:630:26: error: 'INT_GPIO_GROUP2' undeclared > > Signed-off-by: Christian Dietrich I've run into this bug when trying (and failing) to build a mainline kernel for the DragonBoard. Acked-by: Linus Walleij Yours, Linus Walleij -- 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/