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: 1039096 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QmVSS150"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43xHJk3tZyz9sML for ; Sat, 9 Feb 2019 14:16:38 +1100 (AEDT) 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-T1; 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-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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org 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