From patchwork Wed Jun 26 09:53:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 254870 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4C32C2C008E for ; Thu, 27 Jun 2013 07:16:07 +1000 (EST) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrtFr-0006YX-4U; Wed, 26 Jun 2013 17:11:44 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Urt3D-0000rb-4I; Wed, 26 Jun 2013 16:58:35 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrsAN-00034i-Fa for linux-arm-kernel@merlin.infradead.org; Wed, 26 Jun 2013 16:01:55 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrmQT-0004xV-Fc for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2013 09:54:12 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MOZ00I7WVGG8BY0@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2013 18:53:13 +0900 (KST) X-AuditID: cbfee61a-b7f3b6d000006edd-52-51caba09959a Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4E.98.28381.90ABAC15; Wed, 26 Jun 2013 18:53:13 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MOZ008H6VGO7R30@mmp2.samsung.com>; Wed, 26 Jun 2013 18:53:13 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Stephen Rothwell Subject: [linux-next PATCH] ARM: OMAP: fix build for omap4-restart.c Date: Wed, 26 Jun 2013 11:53:09 +0200 Message-id: <3975063.P6ddal97NH@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.5.0-rc2+; KDE/4.8.5; i686; ; ) MIME-version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOLMWRmVeSWpSXmKPExsVy+t9jQV3OXacCDaYdNLLon9bBanG26Q27 xabH11gttu69ym6x/4qXA6vHt6+TWDwab9xg89i8pN6jb8sqRo+7118yBbBGcdmkpOZklqUW 6dslcGVMnLqTueALb8XdnROYGxin8XQxcnJICJhIND45wAhhi0lcuLeerYuRi0NIYDqjxLH3 a5ghnBYmiTnty1lBqtgErCQmtq8C6uDgEBHQljjwWwCkhllgEqPE5atH2UBqhAVcJGac+ccM YrMIqEocPTcFrJdXQFPi6f/JTCC2qIC9xLZ3b9kg4oISPybfYwGxmYFmPnl3gRVkPrOAusSU KbkTGPlmIamahaRqFkLVAkbmVYyiqQXJBcVJ6bmGesWJucWleel6yfm5mxjBwflMagfjygaL Q4wCHIxKPLwKW08GCrEmlhVX5h5ilOBgVhLhfTP/VKAQb0piZVVqUX58UWlOavEhRmkOFiVx 3gOt1oFCAumJJanZqakFqUUwWSYOTqkGxhOrFu3b0mm3NZ4xq6Rvkr9ketBd0x3L2gJrPH2b 1UzWvj5l451b9z79V9Ll/luOGi7VXfFWnoGc69wX7KpZ/ffXyQ5L6dj8av2Wt0bah2UWmyo8 qPnD9XDFJx6rFw3pNcbbcqfJzC5eJVJz5tsMh33sFufy5lszp5tJJRZNbUues1OrpWKJEktx RqKhFnNRcSIAgUN5nUoCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130626_105409_902296_4670917D X-CRM114-Status: UNSURE ( 8.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.2 (--------) X-Spam-Report: SpamAssassin version 3.3.2 on casper.infradead.org summary: Content analysis details: (-8.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.3 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 T_HDRS_LCASE Odd capitalization of message header Cc: Tony Lindgren , Kyungmin Park , Robin Holt , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: Bartlomiej Zolnierkiewicz Subject: [linux-next PATCH] ARM: OMAP: fix build for omap4-restart.c Building omap2plus_defconfig for next-20130626 results in the following build error: arch/arm/mach-omap2/omap4-restart.c:21:28: warning: ‘enum reboot_mode’ declared inside parameter list [enabled by default] arch/arm/mach-omap2/omap4-restart.c:21:28: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] arch/arm/mach-omap2/omap4-restart.c:21:40: error: parameter 1 (‘mode’) has incomplete type arch/arm/mach-omap2/omap4-restart.c:21:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes] It is caused by commit 7eb135b ("reboot: arm: change reboot_mode to use enum reboot_mode"). Fix it by adding missing include. Cc: Stephen Rothwell Cc: Tony Lindgren Cc: Robin Holt Signed-off-by: Kyungmin Park Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-omap2/omap4-restart.c | 1 + 1 file changed, 1 insertion(+) Index: b/arch/arm/mach-omap2/omap4-restart.c =================================================================== --- a/arch/arm/mach-omap2/omap4-restart.c 2013-06-25 14:41:05.842382072 +0200 +++ b/arch/arm/mach-omap2/omap4-restart.c 2013-06-25 14:44:16.062381692 +0200 @@ -8,6 +8,7 @@ */ #include +#include #include "prminst44xx.h" /**