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: 2788411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8855B9F245 for ; Wed, 26 Jun 2013 21:16:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A92A5202AE for ; Wed, 26 Jun 2013 21:16:03 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9352720299 for ; Wed, 26 Jun 2013 21:16:02 +0000 (UTC) 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 (--------) 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-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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" /**