From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexanders83@web.de (Alexander Stein) Date: Thu, 02 Apr 2015 11:39:48 +0200 Subject: [PATCH 2/2] pinctrl: at91: Add missing include In-Reply-To: <20150402081941.GB26864@ns203013.ovh.net> References: <1426878721-2618-1-git-send-email-alexanders83@web.de> <1426878721-2618-2-git-send-email-alexanders83@web.de> <20150402081941.GB26864@ns203013.ovh.net> Message-ID: <12638259.j5S92pLO40@kongar> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 02 April 2015, 10:19:41 wrote Jean-Christophe PLAGNIOL-VILLARD: > On 20:12 Fri 20 Mar , Alexander Stein wrote: > > This fixes the sparse warning: > > drivers/pinctrl/pinctrl-at91.c:1556:6: warning: symbol > > 'at91_pinctrl_gpio_suspend' was not declared. Should it be static? > > drivers/pinctrl/pinctrl-at91.c:1580:6: warning: symbol > > 'at91_pinctrl_gpio_resume' was not declared. Should it be static? > > > > Signed-off-by: Alexander Stein > > --- > > drivers/pinctrl/pinctrl-at91.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c > > index a882523..02f6477 100644 > > --- a/drivers/pinctrl/pinctrl-at91.c > > +++ b/drivers/pinctrl/pinctrl-at91.c > > @@ -25,6 +25,8 @@ > > /* Since we request GPIOs from ourself */ > > #include > > > > +#include > NACK this will break multi arch support Mh, i see. So I guess this sparse warning will stay there then. Best regards, Alexander