From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753440AbdJHKoJ (ORCPT ); Sun, 8 Oct 2017 06:44:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:59536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751597AbdJHKoH (ORCPT ); Sun, 8 Oct 2017 06:44:07 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5D1E221921 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sun, 8 Oct 2017 11:44:03 +0100 From: Jonathan Cameron To: Randy Dunlap Cc: LKML , linux-iio@vger.kernel.org, Jack Andersen , kbuild test robot Subject: Re: [PATCH] iio: adc: dln2-adc: fix build error Message-ID: <20171008114403.68002f32@archlinux> In-Reply-To: References: X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 7 Oct 2017 16:53:20 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > The dln2-adc driver uses interface(s) that are controlled by the > IIO_TRIGGERED_BUFFER Kconfig symbol, so the driver needs to select > that symbol to prevent the build error. > > drivers/iio/adc/dln2-adc.o: In function `dln2_adc_probe': > dln2-adc.c:(.text+0x528): undefined reference to `devm_iio_triggered_buffer_setup' > > Signed-off-by: Randy Dunlap > Reported-by: kbuild test robot > Cc: Jonathan Cameron > Cc: linux-iio@vger.kernel.org > Cc: Jack Andersen Applied to the fixes-togreg branch of iio.git. Thanks, Jonathan > --- > drivers/iio/adc/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > --- lnx-414-rc3.orig/drivers/iio/adc/Kconfig > +++ lnx-414-rc3/drivers/iio/adc/Kconfig > @@ -243,6 +243,8 @@ config DA9150_GPADC > config DLN2_ADC > tristate "Diolan DLN-2 ADC driver support" > depends on MFD_DLN2 > + select IIO_BUFFER > + select IIO_TRIGGERED_BUFFER > help > Say yes here to build support for Diolan DLN-2 ADC. > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html