From patchwork Sun Nov 9 06:42:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olof Johansson X-Patchwork-Id: 5259781 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 6FA55C11AC for ; Sun, 9 Nov 2014 06:46:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B70C20158 for ; Sun, 9 Nov 2014 06:46:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 512AC200E3 for ; Sun, 9 Nov 2014 06:46:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XnMDH-0002WD-NG; Sun, 09 Nov 2014 06:43:03 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XnMDF-0002VP-3p for linux-arm-kernel@lists.infradead.org; Sun, 09 Nov 2014 06:43:01 +0000 Received: by mail-pa0-f48.google.com with SMTP id ey11so6146902pad.35 for ; Sat, 08 Nov 2014 22:42:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=59rmBolQMxxAxETQ1dB2cTIHPKJsnPskrMja9//2lS4=; b=G+hPzF1ie44w2W48zGZumAYhfKIT+vj7d9G52AWDfzSdSoJbJX9U0wdN/mub7yYz5n WbuhSXHdlcVECPYI1Enl/z2Bmus+trpv1ByW9MYJQeheFtN+BpGL9oZ33DR5afghEful t+IBVkF34x4zvAMbwphYqYmdKKhJMLXmuW1/qnKFYyOkAh7iQgDzGOFYHAac2X/ZAh/m q/tPZ47dypbMr7ntddg3rj1SLlEgb2UsxKaSe0MELFmF/XdvsFyT3vEnMUaVEf5KBwz5 8kzE8jCmipShlrvDy2YL602T5c3kP93r69y37g530pd1IL1tFkI9QIePm7N7F/zwK2ku 8uPg== X-Gm-Message-State: ALoCoQmQblH4o3NQ1YhW10PYlL1RUbpZ4lnJoUi2KdMyX0Qmy84Ri4FhfTVtTff/nYSWGFwhmZSZ X-Received: by 10.67.30.72 with SMTP id kc8mr24119977pad.13.1415515359616; Sat, 08 Nov 2014 22:42:39 -0800 (PST) Received: from quad.lixom.net (173-13-129-225-sfba.hfc.comcastbusiness.net. [173.13.129.225]) by mx.google.com with ESMTPSA id my1sm13064785pbc.20.2014.11.08.22.42.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 08 Nov 2014 22:42:39 -0800 (PST) From: Olof Johansson To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: at91: fix build breakage due to legacy board removals Date: Sat, 8 Nov 2014 22:42:34 -0800 Message-Id: <1415515354-7829-1-git-send-email-olof@lixom.net> X-Mailer: git-send-email 2.0.1.473.gc4d58ca X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141108_224301_179768_A5FE3FDE X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Olof Johansson , Nicolas Ferre X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 Fixes the following missing includes: arch/arm/mach-at91/at91sam9g45.c: In function 'at91sam9g45_init_time': arch/arm/mach-at91/at91sam9g45.c:39:23: error: 'NR_IRQS_LEGACY' undeclared (first use in this function) at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS); ^ arch/arm/mach-at91/at91sam9g45.c:39:23: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [arch/arm/mach-at91/at91sam9g45.o] Error 1 arch/arm/mach-at91/at91sam9rl.c: In function 'at91sam9rl_init_time': arch/arm/mach-at91/at91sam9rl.c:51:23: error: 'NR_IRQS_LEGACY' undeclared (first use in this function) at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS); Cc: Nicolas Ferre Signed-off-by: Olof Johansson --- Nicolas, I already checked this in to next/cleanup, posting mostly FYI. -Olof arch/arm/mach-at91/at91sam9g45.c | 1 + arch/arm/mach-at91/at91sam9rl.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c index dd03f652cca4..042f7c623c8f 100644 --- a/arch/arm/mach-at91/at91sam9g45.c +++ b/arch/arm/mach-at91/at91sam9g45.c @@ -11,6 +11,7 @@ */ #include +#include #include #include diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c index 6ca7fc5ca812..97efb2ef9fb4 100644 --- a/arch/arm/mach-at91/at91sam9rl.c +++ b/arch/arm/mach-at91/at91sam9rl.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include