From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Quadros Subject: Re: randconfig build error with next-20150812, in drivers/extcon/extcon-palmas.c Date: Thu, 13 Aug 2015 10:09:27 +0300 Message-ID: <55CC42A7.1090806@ti.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from bear.ext.ti.com ([192.94.94.41]:35051 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429AbbHMHJg (ORCPT ); Thu, 13 Aug 2015 03:09:36 -0400 In-Reply-To: Sender: linux-next-owner@vger.kernel.org List-ID: To: Jim Davis , Stephen Rothwell , linux-next , linux-kernel , myungjoo.ham@samsung.com, cw00.choi@samsung.com Hi, On 12/08/15 17:46, Jim Davis wrote: > Building with the attached random configuration file, >=20 > warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects > IOSF_MBI which has unmet direct dependencies (PCI) >=20 > drivers/extcon/extcon-palmas.c: In function =91palmas_gpio_id_detect=92= : > drivers/extcon/extcon-palmas.c:136:2: error: implicit declaration of > function =91gpiod_get_value_cansleep=92 > [-Werror=3Dimplicit-function-declaration] > id =3D gpiod_get_value_cansleep(palmas_usb->id_gpiod); > ^ > drivers/extcon/extcon-palmas.c: In function =91palmas_usb_probe=92: > drivers/extcon/extcon-palmas.c:211:2: error: implicit declaration of > function =91devm_gpiod_get_optional=92 > [-Werror=3Dimplicit-function-declaration] > palmas_usb->id_gpiod =3D devm_gpiod_get_optional(&pdev->dev, "id", = GPIOD_ASIS); > ^ > drivers/extcon/extcon-palmas.c:211:67: error: =91GPIOD_ASIS=92 undecl= ared > (first use in this function) > palmas_usb->id_gpiod =3D devm_gpiod_get_optional(&pdev->dev, "id", = GPIOD_ASIS); > ^ > drivers/extcon/extcon-palmas.c:211:67: note: each undeclared > identifier is reported only once for each function it appears in > drivers/extcon/extcon-palmas.c:228:3: error: implicit declaration of > function =91gpiod_set_debounce=92 [-Werror=3Dimplicit-function-declar= ation] > status =3D gpiod_set_debounce(palmas_usb->id_gpiod, > ^ > drivers/extcon/extcon-palmas.c:275:3: error: implicit declaration of > function =91gpiod_to_irq=92 [-Werror=3Dimplicit-function-declaration] > palmas_usb->gpio_id_irq =3D gpiod_to_irq(palmas_usb->id_gpiod); > ^ >=20 >=20 Thanks for the catch. This is because extcon-palmas.c doesn't include the header include/linux/gpio/consumer.h It will be addressed in the following thread http://thread.gmane.org/gmane.linux.kernel/2019235 cheers, -roger From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752012AbbHMHJi (ORCPT ); Thu, 13 Aug 2015 03:09:38 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:35051 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429AbbHMHJg (ORCPT ); Thu, 13 Aug 2015 03:09:36 -0400 Message-ID: <55CC42A7.1090806@ti.com> Date: Thu, 13 Aug 2015 10:09:27 +0300 From: Roger Quadros User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Jim Davis , Stephen Rothwell , linux-next , linux-kernel , , Subject: Re: randconfig build error with next-20150812, in drivers/extcon/extcon-palmas.c References: In-Reply-To: Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 12/08/15 17:46, Jim Davis wrote: > Building with the attached random configuration file, > > warning: (INTEL_SOC_DTS_IOSF_CORE && PUNIT_ATOM_DEBUG) selects > IOSF_MBI which has unmet direct dependencies (PCI) > > drivers/extcon/extcon-palmas.c: In function ‘palmas_gpio_id_detect’: > drivers/extcon/extcon-palmas.c:136:2: error: implicit declaration of > function ‘gpiod_get_value_cansleep’ > [-Werror=implicit-function-declaration] > id = gpiod_get_value_cansleep(palmas_usb->id_gpiod); > ^ > drivers/extcon/extcon-palmas.c: In function ‘palmas_usb_probe’: > drivers/extcon/extcon-palmas.c:211:2: error: implicit declaration of > function ‘devm_gpiod_get_optional’ > [-Werror=implicit-function-declaration] > palmas_usb->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_ASIS); > ^ > drivers/extcon/extcon-palmas.c:211:67: error: ‘GPIOD_ASIS’ undeclared > (first use in this function) > palmas_usb->id_gpiod = devm_gpiod_get_optional(&pdev->dev, "id", GPIOD_ASIS); > ^ > drivers/extcon/extcon-palmas.c:211:67: note: each undeclared > identifier is reported only once for each function it appears in > drivers/extcon/extcon-palmas.c:228:3: error: implicit declaration of > function ‘gpiod_set_debounce’ [-Werror=implicit-function-declaration] > status = gpiod_set_debounce(palmas_usb->id_gpiod, > ^ > drivers/extcon/extcon-palmas.c:275:3: error: implicit declaration of > function ‘gpiod_to_irq’ [-Werror=implicit-function-declaration] > palmas_usb->gpio_id_irq = gpiod_to_irq(palmas_usb->id_gpiod); > ^ > > Thanks for the catch. This is because extcon-palmas.c doesn't include the header include/linux/gpio/consumer.h It will be addressed in the following thread http://thread.gmane.org/gmane.linux.kernel/2019235 cheers, -roger