Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp6450694imm; Sun, 20 May 2018 03:27:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrdPgGn+TOw/o/wpKShFxc4q4bsfQEHvMBADF5H0jJAVL5BBgZhx5DwveHXLpqlc3wUDana X-Received: by 2002:a62:9c0d:: with SMTP id f13-v6mr15824022pfe.15.1526812054364; Sun, 20 May 2018 03:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526812054; cv=none; d=google.com; s=arc-20160816; b=qDABadv0x9q1b2saLB7UZ/8Btdepr/Q7yqZBVflCa03qzblVvvjm8AUDUBmvt6g0M2 UyK/HCAAit/5ZU9Ee8rwv8OVE043J2S9AomzWCHnB5M/NvjsguhCTL3S/Clymc8rvu8/ xedD7MEFyChhWNthx2XEBEUaXyyrgIf5VuZMza6786Ak1AdGIPsHtaJqP7DQMD4StUzG jHLgX3xzETqwYBF91X8rWndi9Gh5TBGlGyYNLa0Do4gjxTY5VztYZDvNGsQ40GFSCFEi 7LiVgutB+wryCTs3VMJRDDfOAz+pimq3EbSqWIuVN5QF+SZBWBgizIk0wrH2Ok2R2prw KQpg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=/wUuVjwcw9b4rEASBSYri36cqQC2YIYD/MkLNA6EKmM=; b=tC8dMdtMUD3O896gtAp/YzhptCj2Wa44yL+AQaLP+ywRKSCbaqfuudLe8kxz4G2NMo slwcLC79A6V4azKTKCgExBOsmv2OzmcuHW0BjEJqiaQgH3xRM/3rsqD7Fb+qbM0E7f9x iY4J6l13PQ4Y8PDEOgiWFFbO2qtslol8TPg9v1tBWZ7EVx/ONTQcnH0KEq8q90BlXNdx s+NNBrXp4iEnnoi+sqiGCFoKimT8qL9lTdO0IXUeiq7VNF1rJc6Ez4LOi5Dv8PHLpN/W HFqSYfYYj1hbLnhsAe6qELNZUcY1qZRUdzPdfMg4YXHCPMc/EXOOWpmzHojEAt5pT1m6 sXmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=orf6KekV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14-v6si11670819pfa.296.2018.05.20.03.27.16; Sun, 20 May 2018 03:27:34 -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; dkim=pass header.i=@kernel.org header.s=default header.b=orf6KekV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751100AbeETK1G (ORCPT + 99 others); Sun, 20 May 2018 06:27:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:44918 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750895AbeETK1E (ORCPT ); Sun, 20 May 2018 06:27:04 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C67CB2075C; Sun, 20 May 2018 10:27:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526812024; bh=EI6b1cQdy7KYgm7WUH62wIaZez3g6CIbiaUXdiAp8O4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=orf6KekVF/nBMa4vt2pGz05r0Rp5WqFQdeRJozJBXzrC67XwjQ4LXjCuIGUTjnwe0 lJCNgM5C+cntxktivgN0jE/2AqobvhnLsKOAe9453indMs2TTA2DutEmXpBvassI1T AtX80rrFcuHBM8EnwuawyeI3+4SJw4l5ilNDLFTw= Date: Sun, 20 May 2018 11:26:58 +0100 From: Jonathan Cameron To: Fabrice Gasnier Cc: , , , , , , , , , Subject: Re: [PATCH] iio: adc: stm32-dfsdm: include stm32-dfsdm-adc.h Message-ID: <20180520112658.1c84968b@archlinux> In-Reply-To: <1526397557-31389-1-git-send-email-fabrice.gasnier@st.com> References: <1526397557-31389-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 15 May 2018 17:19:17 +0200 Fabrice Gasnier wrote: > Fix the following sparse warnings: > CHECK drivers/iio/adc/stm32-dfsdm-adc.c > symbol 'stm32_dfsdm_get_buff_cb' was not declared. Should it be static? > symbol 'stm32_dfsdm_release_buff_cb' was not declared. Should it be static? > > BTW, move interrupt.h to sort headers alphabetically. > > Signed-off-by: Fabrice Gasnier Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/iio/adc/stm32-dfsdm-adc.c | 4 ++-- > include/linux/iio/adc/stm32-dfsdm-adc.h | 2 ++ > 2 files changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/iio/adc/stm32-dfsdm-adc.c b/drivers/iio/adc/stm32-dfsdm-adc.c > index 1b78bec..31462ae 100644 > --- a/drivers/iio/adc/stm32-dfsdm-adc.c > +++ b/drivers/iio/adc/stm32-dfsdm-adc.c > @@ -8,11 +8,11 @@ > > #include > #include > -#include > +#include > #include > #include > -#include > #include > +#include > #include > #include > #include > diff --git a/include/linux/iio/adc/stm32-dfsdm-adc.h b/include/linux/iio/adc/stm32-dfsdm-adc.h > index e7dc7a5..0da298b 100644 > --- a/include/linux/iio/adc/stm32-dfsdm-adc.h > +++ b/include/linux/iio/adc/stm32-dfsdm-adc.h > @@ -9,6 +9,8 @@ > #ifndef STM32_DFSDM_ADC_H > #define STM32_DFSDM_ADC_H > > +#include > + > int stm32_dfsdm_get_buff_cb(struct iio_dev *iio_dev, > int (*cb)(const void *data, size_t size, > void *private),