From patchwork Wed Apr 17 19:01:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 2455881 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id C2231DF23A for ; Wed, 17 Apr 2013 19:02:10 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1USXcM-0000yL-0u; Wed, 17 Apr 2013 19:02:06 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1USXcJ-0004HW-Gw; Wed, 17 Apr 2013 19:02:03 +0000 Received: from mail-pb0-f42.google.com ([209.85.160.42]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1USXcG-0004HE-3d for linux-arm-kernel@lists.infradead.org; Wed, 17 Apr 2013 19:02:00 +0000 Received: by mail-pb0-f42.google.com with SMTP id up7so1022416pbc.29 for ; Wed, 17 Apr 2013 12:01:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=gp3Qmry+9MPWF02oNYRtMYoiJEzNcp7qW7MrNN7d88g=; b=AZ6xqoW4LygcJY77wXKRug3UBovNmwrqqfP3V2ikyn8rjt9sh2qZdZkyeIDygXdp+3 GWk9SsktgeH82aU6MEd9VOVWDgAyd2dzuN1fo10nRFnim2rIOeX4x2+DKySD/d3a2WFB qkqw8Ck8A8I8ylP+/iTMib6oyQahHIeN7JVhMZ2GTr2DBJmVii+d3vFwezagZN0h6LiR /oWotXV4BwISifV3oxYukdmdt6vWvQFBT5DHBP5oDAfTOTH272S/arVADMzOAEjKUluN D2bgp7EoxN6EqMPnJHbjUm8AA1TvcicCDTNYu+KFNtL0nqTtgL7hhepjW5N0/NAHZJxo 42kw== X-Received: by 10.66.52.76 with SMTP id r12mr10222000pao.217.1366225316409; Wed, 17 Apr 2013 12:01:56 -0700 (PDT) Received: from quad.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by mx.google.com with ESMTPS id mm9sm7087604pbc.43.2013.04.17.12.01.54 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Apr 2013 12:01:55 -0700 (PDT) From: Olof Johansson To: horms@verge.net.au Subject: [PATCH] ARM: shmobile: add missing include of of.h Date: Wed, 17 Apr 2013 12:01:42 -0700 Message-Id: <1366225302-23150-1-git-send-email-olof@lixom.net> X-Mailer: git-send-email 1.8.1.192.gc4361b8 X-Gm-Message-State: ALoCoQlVB6Pe/ZRg8cwUvWqHmvm4BC1Tdl97ZEchEKsZuZyEvFmoouZ6usNgb7WE3p3yrDQb3NNI X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130417_150200_257058_23322592 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.42 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Olof Johansson , 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following build warnings: In file included from arch/arm/mach-shmobile/setup-r8a7779.c:25:0: include/linux/of_platform.h:107:13: warning: 'struct of_device_id' declared inside parameter list [enabled by default] include/linux/of_platform.h:107:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] include/linux/of_platform.h:107:13: warning: 'struct device_node' declared inside parameter list [enabled by default] Signed-off-by: Olof Johansson Acked-by: Simon Horman --- Hi Simon, I'll just apply this directly if it's OK with you? -Olof arch/arm/mach-shmobile/setup-r8a7779.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c b/arch/arm/mach-shmobile/setup-r8a7779.c index b0b3948..7413fc0 100644 --- a/arch/arm/mach-shmobile/setup-r8a7779.c +++ b/arch/arm/mach-shmobile/setup-r8a7779.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include