Received: by 10.223.185.116 with SMTP id b49csp4190951wrg; Mon, 26 Feb 2018 12:53:57 -0800 (PST) X-Google-Smtp-Source: AH8x226Smk8/s22kHs4THftQfbs9Wq7O9qHgYXiXLqfR9TXHUDS3Vccdz4hX3mHT/9OxucylqAO+ X-Received: by 10.98.58.129 with SMTP id v1mr11801098pfj.203.1519678436872; Mon, 26 Feb 2018 12:53:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519678436; cv=none; d=google.com; s=arc-20160816; b=Sa3/JW+gusUmxN45AEguaVQFtdT5muyBQsQm2LKLW2qI809fxkC/tvqiI8D29drsLV hqDNzAqeFCebr1woMW/2eHUCW3v4S9b58l/O2UkEL+UoH5+DbfdCDSsvz7wIUTPSAYYe fU368bnaUyBz8tf4CfEGjcggG5z8NXNvlNWVhf7nJ2UulQ8EZgH3EigMLdovfv8bUxXE OyBNSvWhIkEy5NpocwWdM0+CYQz+Rva6ADaVmKQwgzCZ8ppn/8JtvrFkbZup/5SAxDGG x5SMkxFkj0KQBc+9GOlEcZPTXN95/7Ro3N10Bhh9vBZbGfpywp7w51wiad8cLCEsw2yt Co+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=uWI2vw/POnd8uEMDfiiZ52/TIP2AzWg70CHt+fq93/A=; b=XZaA1VPQD3G29M5+5ydg9Kx1ure04ogdvG5oN9tyZQ3pIO8V55ckeAvFKGVxdotm/L t12y6xj/mCJTSytb46+lHtfo5lsZHUxmB0lMrM41YysKD8zlXRsz50yNUljYV01Ae8Tb 7fcrZsIPJ21VF7aly6Wc48U5BPNWXWwdmkXLR4Wncz3nUyQwCVe8x/fKurUlpLJWL5F5 rP10gz/BjgL+/Lojhwrw/Wi0H6QFkRnq5F/g83i2D8IXTeRCk3VjpfejxG06eCGglDG5 NlZtHh3132CZMHRWNn6SbykjDhglWr1Lt2dlg38/QM2ONpwvj2o90l4QXXD3hhH0sUOI jrhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10si2824141pfc.183.2018.02.26.12.53.40; Mon, 26 Feb 2018 12:53:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752797AbeBZUYC (ORCPT + 99 others); Mon, 26 Feb 2018 15:24:02 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:34944 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751863AbeBZUX6 (ORCPT ); Mon, 26 Feb 2018 15:23:58 -0500 Received: from localhost (clnet-b04-243.ikbnet.co.at [83.175.124.243]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 65ED7F78; Mon, 26 Feb 2018 20:23:57 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andreas Klinger , Stable@vger.kernel.org, Jonathan Cameron Subject: [PATCH 4.14 22/54] iio: srf08: fix link error "devm_iio_triggered_buffer_setup" undefined Date: Mon, 26 Feb 2018 21:21:59 +0100 Message-Id: <20180226202145.509731478@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180226202144.375869933@linuxfoundation.org> References: <20180226202144.375869933@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andreas Klinger commit 511051d509ec54642dd6d30fdf2caa33c23619cc upstream. Functions for triggered buffer support are needed by this module. If they are not defined accidentally by another driver, there's an error thrown out while linking. Add a select of IIO_BUFFER and IIO_TRIGGERED_BUFFER in the Kconfig file. Signed-off-by: Andreas Klinger Fixes: a83195937151 ("iio: srf08: add triggered buffer support") Cc: Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/proximity/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/iio/proximity/Kconfig +++ b/drivers/iio/proximity/Kconfig @@ -58,6 +58,8 @@ config SX9500 config SRF08 tristate "Devantech SRF02/SRF08/SRF10 ultrasonic ranger sensor" + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER depends on I2C help Say Y here to build a driver for Devantech SRF02/SRF08/SRF10