Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3653042imc; Thu, 14 Mar 2019 02:04:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQztLarLsc0W6p9ubcaUn0mNW2evJTX0SRf3pQQq7hKkRWbUS6WYXfPFvuO1aiNsp/eyW+ X-Received: by 2002:a17:902:242:: with SMTP id 60mr45381172plc.128.1552554266538; Thu, 14 Mar 2019 02:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552554266; cv=none; d=google.com; s=arc-20160816; b=WBbilAhW4uG+N+fglaFkVWPdCAAr/MemU0zmS5PgAogR2aNGP5kzE9BwxMrVSKmYeu RcO+7N5MCUutgZgMdLwr9T2E01GXZ2S8Eq/2VVBJb2fBVWosygVj69hOJwQW3y1Ix0cl Yq7b8g+/klRrRww96X1aAve9V9PU9/vR+PWmqpa8aNwDayczCkR372DqrDx9I1Ac2frI pVYF1nKx55YpMnn+AO9RrtHR8lAtlkPR8lGP8WyS5AjueYWOYRaYL+/tt/LlWJvtzxhM O8K+PNGzjarjxBYRUqGHeZSbI+R8QtW7Le8Tq2tXcV7+4cSqcPdQOcpq2IIEUYkHZlTL SHKg== 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; bh=LuMURJK5AkUOa+qs8yoJhvCTCdFkBf2ReSRgPN5psrQ=; b=h6/6l/TmNiEWaFHQRc3/kW3LavWB2ophQwYBgDl5N25JGKLXCl5I2qThjUxeftdTjs BoQYMJKrGZ9DcVCtIRZQLhrz6jVrbgasj65TknCdGVkK1bUJdS1rnOz7xaiEXcoFfzpS jfv1Xg8zJ+JDDb+HC+JH8ZOsL07INzlDTFQdmoVi3lWllLnUxj8Cqn2Xv5mdJTzySVsA 2eDLVAan/dABwPn06n9irwpR6OuxwG2zttkNGwHSVnm3MFpwdh5H9acgWaNHKcMQHjWh RvfjPPNQqBiW6KNmAXCRdRAsOMhR36uz2klGkkrYwFxaXfaI/C/j3RjBp0YshDkC7Qol xcVg== 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 c136si12329734pfb.89.2019.03.14.02.04.10; Thu, 14 Mar 2019 02:04:26 -0700 (PDT) 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 S1727347AbfCNJBo (ORCPT + 99 others); Thu, 14 Mar 2019 05:01:44 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:60671 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726654AbfCNJBn (ORCPT ); Thu, 14 Mar 2019 05:01:43 -0400 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPA (Nemesis) id 1MC2sF-1hCMao1r9p-00CPPM; Thu, 14 Mar 2019 10:01:19 +0100 From: Arnd Bergmann To: Jonathan Cameron Cc: Arnd Bergmann , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Tomasz Duszynski , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] iio: pms7003: sleect IIO_TRIGGERED_BUFFER Date: Thu, 14 Mar 2019 10:00:52 +0100 Message-Id: <20190314090118.312040-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1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xA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Without IIO_TRIGGERED_BUFFER, this driver fails to link: drivers/iio/chemical/pms7003.o: In function `pms7003_probe': pms7003.c:(.text+0x21c): undefined reference to `devm_iio_triggered_buffer_setup' pms7003.c:(.text+0x21c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `devm_iio_triggered_buffer_setup' Fixes: a1d642266c14 ("iio: chemical: add support for Plantower PMS7003 sensor") Signed-off-by: Arnd Bergmann --- drivers/iio/chemical/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig index d5d146e9e372..6f253092a523 100644 --- a/drivers/iio/chemical/Kconfig +++ b/drivers/iio/chemical/Kconfig @@ -64,6 +64,7 @@ config IAQCORE config PMS7003 tristate "Plantower PMS7003 particulate matter sensor" depends on SERIAL_DEV_BUS + select IIO_TRIGGERED_BUFFER help Say Y here to build support for the Plantower PMS7003 particulate matter sensor. -- 2.20.0