From patchwork Sat Feb 9 03:16:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10804053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 50483746 for ; Sat, 9 Feb 2019 03:16:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 396A22DA6B for ; Sat, 9 Feb 2019 03:16:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2D7CE2E766; Sat, 9 Feb 2019 03:16:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 391942DA6B for ; Sat, 9 Feb 2019 03:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject: From:To:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5+cgJ+R0cxyLhkaytCIDZJErJkMwX1N4ahvkW6AofVY=; b=QmVSS150TSLNU+ dE0wv0yVjLCAxlUxf5EaHhJOPjF8D13O3wr06OgoksE0UrRXgae5XGRgyB15+TbafIjzb5OGCKEJj focbauqO4S+d2Gs4hroishmMr/PyGCQlJoVmlG5aXv8SzW8Dw2/eqj0ZSSOGJPbYwZnxinrN9b41f fTMzZiSHZPUyVmshX4R9zTBUyex3HzrSpLMqGf3UE8x/577oMwi/28cOveewrXbLrZw/O9m77/V5Y WjDJv6qAf1CPDrOl9V/F6zzQzTnJPJyrUKRoffgTwgKKajUZzK+S8b6tFb9UOpAd0mfHgN6Pvwt+g WtPnGRFooYKYIumgYgAw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gsJ81-0004mu-1O; Sat, 09 Feb 2019 03:16:29 +0000 Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gsJ7y-0004mZ-Tx; Sat, 09 Feb 2019 03:16:27 +0000 To: LKML , Andrew Morton From: Randy Dunlap Subject: [PATCH -mmotm/-next] pinctrl: fix pxa2xx.c build warnings Message-ID: <0024542e-cba9-8f13-6c18-32d0050a6007@infradead.org> Date: Fri, 8 Feb 2019 19:16:23 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Robert Jarzmik , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Add #include of to fix build warnings in pinctrl-pxa2xx.c. Fixes these warnings: In file included from ../drivers/pinctrl/pxa/pinctrl-pxa2xx.c:24:0: ../drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: ‘enum pinctrl_map_type’ declared inside parameter list [enabled by default] enum pinctrl_map_type type); ^ ../drivers/pinctrl/pxa/../pinctrl-utils.h:36:8: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Signed-off-by: Randy Dunlap Cc: Robert Jarzmik Cc: linux-arm-kernel@lists.infradead.org --- Seen in linux-next and mmotm. drivers/pinctrl/pxa/pinctrl-pxa2xx.c | 1 + 1 file changed, 1 insertion(+) --- mmotm-2019-0208-1633.orig/drivers/pinctrl/pxa/pinctrl-pxa2xx.c +++ mmotm-2019-0208-1633/drivers/pinctrl/pxa/pinctrl-pxa2xx.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include