Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1887340pxa; Mon, 3 Aug 2020 01:30:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1DRQ1KIZE9v3RItA07KTJnqbZiQHqSl/ObrXQrNpr/53cpc7k12Pdy8iq3F4isTtNMiBG X-Received: by 2002:a17:906:938f:: with SMTP id l15mr16207727ejx.539.1596443454106; Mon, 03 Aug 2020 01:30:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596443454; cv=none; d=google.com; s=arc-20160816; b=h+Jg2e/QJF2Uip7e9Avwi/n3VbbTW9U5off8s0yTo//jjvNgaTp4T1yPffkrBoOqBo rw2j2JA2mjjb+f8EOa9RtEH5Z33hyedxlh9xgNoqQLOCmW5FHFsIZw94/IqNxyQtEYow cHjgFbYCfil5P81Ejho6CJnbYeVwahAx/Dfe8ujCji8wh68r5NbILiYJkATJ94Go0uXh ZcJ/7DClzgmhn5vYo4pBBWGDrbBE/pbsjzecwhvKJTkBF1ASlUBbQBw1bT0StjaYv0/e 86qUQ3esFkPgeXlYU1o9zZLNHGCpDQ6BQFeSS7BgmNG2gAvi7biHfPJO4uAi/mnJeVw4 IztA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=OIZj9ZscenWslEagGF3KNIIVzm1zaVR0sAtkh3SLZQc=; b=leySqXFnZBrLjBhudZkgBjjx+/9vy8L8Pg9znaI9y4uWzsLyX0PbA/+KB/o6e3fTqi hiTlVI4pxCQYC/flfw8KvBDwoAq6ID6pDx59sIE5ehgkikppk7cTrDTr/Qd3G0F/Aqf5 4gI6MTiBWarpVv/cDEphV51Ki3fg3Ch3u4R21fv6zLve6tNzRzEukdjR8zWi0Lm4KopM BTKfHSZMuhO5sBpdTewTbYke07HU+CX887Ul1UQAZak1e/20935n92t0CsWB2qY9i/TS i1+xqLuqGYMQHDhQcVlRamurTV+G2dcuyH5PSGSwtdeW24MB3roXMfCPMsLov6s5PDTf J38g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=lbSw7vyS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a92si7068839edf.509.2020.08.03.01.30.31; Mon, 03 Aug 2020 01:30:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=lbSw7vyS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726279AbgHCIaV (ORCPT + 99 others); Mon, 3 Aug 2020 04:30:21 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:48367 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726007AbgHCIaU (ORCPT ); Mon, 3 Aug 2020 04:30:20 -0400 Received: from mwalle01.sab.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id ED4EE22EE4; Mon, 3 Aug 2020 10:30:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1596443417; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OIZj9ZscenWslEagGF3KNIIVzm1zaVR0sAtkh3SLZQc=; b=lbSw7vySBDIDPmgI2Exq+wQEUihNRiC0YVXBS7x5RFKCYDWILQaf96x3/yakxTuOEFAVfx s8+JSiNpZ+hl6WPXOn1ChywazptEEusZPn3fZp5ERqmfTITt2i8MMAwT7MCw6JkBz9GRZj Uu2zhkA2EKLHKf2xnw9Gwjq5BmjOcwY= From: Michael Walle To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Heiko Stuebner , Simon Xue , Michael Walle Subject: [PATCH] iio: adc: rockchip_saradc: select IIO_TRIGGERED_BUFFER Date: Mon, 3 Aug 2020 10:30:01 +0200 Message-Id: <20200803083001.6689-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The kernel fails to compile due to undefined reference to devm_iio_triggered_buffer_setup() if IIO_TRIGGERED_BUFFER is not enabled. The original patch [1] had this dependency. But somehow it didn't make it into the kernel tree. Re-add it. [1] https://lore.kernel.org/lkml/20200623233011.2319035-3-heiko@sntech.de/ Fixes: 4e130dc7b413 ("iio: adc: rockchip_saradc: Add support iio buffers") Signed-off-by: Michael Walle --- drivers/iio/adc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 66d9cc073157..d94dc800b842 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -865,6 +865,8 @@ config ROCKCHIP_SARADC tristate "Rockchip SARADC driver" depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST) depends on RESET_CONTROLLER + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say yes here to build support for the SARADC found in SoCs from Rockchip. -- 2.20.1