Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1591448pxf; Fri, 26 Mar 2021 10:22:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxCk/5dNqOTVkDmRYRpIsusSBTshBbZw/pmrTxlrTJAVGQtRIv2ZHAHY3aUGytNkFImOiv X-Received: by 2002:a17:907:75fc:: with SMTP id jz28mr16692339ejc.490.1616779351467; Fri, 26 Mar 2021 10:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616779351; cv=none; d=google.com; s=arc-20160816; b=D4R7VnciAoX7VD7IyNZKr7op6qKoRXRcG0XYuY51eezniUEI5kLuKf280vwiVOt/Ct JLx0kS/GGqIr4aSOsrGcNUlQmTnJpgCdBXjGGe+98SEw/UyPWx1bUVjNDmvi8tjrRF9q V1k+teLnUkQNJ1zX8kVxYm5l+wX0J/ij7YIpFQQfVqYoXt11g226NmpmJ2uOl7EKLvAl 9CNjL0rO6125PSwf4tzIo5+CWSa1sWRKvygfW0UFIM9cmcrELFoZ1DhVyTn35DP6WRLW yt3gQyx2IthZKZFvE/ayI34j0U2eDdoq49oDByB9suXitNWb3vGQ2CWHW2UBhm5h9hit xIJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yQmtOIf/I1BqB5s8GDEyi9vPJeZK43rIFp1cISzpfO0=; b=DZdBfOQN+y1LwMxURRB8KiBdDmkUapbxz+rnRivRhY6zDk5BpyWtAqLUiyZFPB5Fvs k4jQPH4bUAYhwcWGKHN3Oe8h+bXEC0jT4YFeTk3y+XLlwzIHaZaCTlY/YKl/XSQ1tTMU YustBgJmo8otB67PwtMj/F452qkLQha1ubRammEs2gqGibjHDe0PO8vOjUfvxGUvH2uX uGuJr/zwomHSZxAXbsEHkf9ZrOsWS3ki+zSO9tn233ngFF7qxO/1Ny1GZiYJMyZ/xTH/ RPjSjmhjWM5LIRJ//9UGvLFI/0SnKvHUsJ7CDFFU+gHUPNPzFgGh3c1QE46mlafu9lXF tyVQ== ARC-Authentication-Results: i=1; mx.google.com; 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 w22si7128536edd.295.2021.03.26.10.22.08; Fri, 26 Mar 2021 10:22:31 -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; 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 S230223AbhCZRSX (ORCPT + 99 others); Fri, 26 Mar 2021 13:18:23 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:51843 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230076AbhCZRSH (ORCPT ); Fri, 26 Mar 2021 13:18:07 -0400 X-Originating-IP: 90.65.108.55 Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 4C22E2000A; Fri, 26 Mar 2021 17:18:05 +0000 (UTC) From: Alexandre Belloni To: Lee Jones Cc: Alexandre Belloni , Russell King , linux-kernel@vger.kernel.org, Ludovic Desroches , linux-arm-kernel@lists.infradead.org Subject: Re: [RESEND 1/1] arch: arm: mach-at91: pm: Move prototypes to mutually included header Date: Fri, 26 Mar 2021 18:18:04 +0100 Message-Id: <161677907718.203839.17372873158505015568.b4-ty@bootlin.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210303124149.3149511-1-lee.jones@linaro.org> References: <20210303124149.3149511-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 3 Mar 2021 12:41:49 +0000, Lee Jones wrote: > Both the caller and the supplier's source file should have access to > the include file containing the prototypes. > > Fixes the following W=1 kernel build warning(s): > > drivers/pinctrl/pinctrl-at91.c:1637:6: warning: no previous prototype for ‘at91_pinctrl_gpio_suspend’ [-Wmissing-prototypes] > 1637 | void at91_pinctrl_gpio_suspend(void) > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/pinctrl/pinctrl-at91.c:1661:6: warning: no previous prototype for ‘at91_pinctrl_gpio_resume’ [-Wmissing-prototypes] > 1661 | void at91_pinctrl_gpio_resume(void) > | ^~~~~~~~~~~~~~~~~~~~~~~~ Applied, thanks! [1/1] arch: arm: mach-at91: pm: Move prototypes to mutually included header commit: 10e9119e865047f4e22cbd69de991d6bc26c4faf Best regards, -- Alexandre Belloni