From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Stein Subject: [PATCH 2/2] pinctrl: at91: Add missing include Date: Fri, 20 Mar 2015 20:12:01 +0100 Message-ID: <1426878721-2618-2-git-send-email-alexanders83@web.de> References: <1426878721-2618-1-git-send-email-alexanders83@web.de> Return-path: Received: from mout.web.de ([212.227.15.4]:60604 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751513AbbCTTMu (ORCPT ); Fri, 20 Mar 2015 15:12:50 -0400 In-Reply-To: <1426878721-2618-1-git-send-email-alexanders83@web.de> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Jean-Christophe Plagniol-Villard , Linus Walleij Cc: Alexander Stein , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org 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 + #include "pinctrl-at91.h" #include "core.h" -- 2.3.3 From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexanders83@web.de (Alexander Stein) Date: Fri, 20 Mar 2015 20:12:01 +0100 Subject: [PATCH 2/2] pinctrl: at91: Add missing include In-Reply-To: <1426878721-2618-1-git-send-email-alexanders83@web.de> References: <1426878721-2618-1-git-send-email-alexanders83@web.de> Message-ID: <1426878721-2618-2-git-send-email-alexanders83@web.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 + #include "pinctrl-at91.h" #include "core.h" -- 2.3.3