From patchwork Wed Aug 8 12:54:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 1295211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 0720FDF223 for ; Wed, 8 Aug 2012 12:58:15 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sz5n8-0001UQ-Rx; Wed, 08 Aug 2012 12:55:14 +0000 Received: from moutng.kundenserver.de ([212.227.126.187]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sz5mw-0001S5-G8 for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 12:55:03 +0000 Received: from klappe2.boeblingen.de.ibm.com (deibp9eh1--blueice3n2.emea.ibm.com [195.212.29.180]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0Lg4q7-1TVwdD1vK7-00p8Ct; Wed, 08 Aug 2012 14:55:00 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/6] ARM: sa1100: include asm/io.h in hackkit leds code Date: Wed, 8 Aug 2012 14:54:50 +0200 Message-Id: <1344430493-5304-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1344430493-5304-1-git-send-email-arnd@arndb.de> References: <1344430493-5304-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:/KNzojj8bNtUH875uo2LkKe7AeKX+Ds540MoVDJx1OF l3xIEXsvAoiRYH+MD2Qba4K9rCbgP2kfEfpkn9pNeMQsDj56uz PRek3vYjdGYje86qDF64LIK6OEYvh68r2n1m9J71a5Sw1VGNgB E4kdDoE14qWG//FGlvFDbXQp7AzBy7tCMnP1iCEeUUcbRXSsBW LLeG+XT7VQuytrzSmMdkcEr1uh7k5sTg4qrGMmaeoP1mCXDDYv 5SSPIJI1XlxQEQm4Xusc7lhxjwB3YzgX1T8SvIhsOMYThSbfRt Y30OT22T/saUDpxbIlA7mCcZSTIaQkaN2KbW8l/uz0wM5Uoxdx 0lSLBX3vuJ0YRXYzv9SJt/CgV8vVKTgzhDFieKnZobiLGdNWdJ oXzC2UtQE9n/A== X-Spam-Note: CRM114 invocation failed X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.187 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: arm@kernel.org, Russell King , linux-kernel@vger.kernel.org, Arnd Bergmann X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The sa1100 definition of the io_p2v macro has changed in v3.6, and this one file stopped working because of that. Without this patch, building hackkit_defconfig results in: arch/arm/mach-sa1100/leds-hackkit.c: In function 'hackkit_leds_event': arch/arm/mach-sa1100/leds-hackkit.c:39:4: error: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration] Signed-off-by: Arnd Bergmann Cc: Russell King --- arch/arm/mach-sa1100/leds-hackkit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sa1100/leds-hackkit.c b/arch/arm/mach-sa1100/leds-hackkit.c index 6a23524..9c79674 100644 --- a/arch/arm/mach-sa1100/leds-hackkit.c +++ b/arch/arm/mach-sa1100/leds-hackkit.c @@ -13,6 +13,7 @@ #include #include +#include #include "leds.h"