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: 10583 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7738923E00 for ; Wed, 8 Aug 2012 12:55:08 +0000 (UTC) Received: from mail-gh0-f180.google.com (mail-gh0-f180.google.com [209.85.160.180]) by fiordland.canonical.com (Postfix) with ESMTP id 46D26A185A1 for ; Wed, 8 Aug 2012 12:55:08 +0000 (UTC) Received: by mail-gh0-f180.google.com with SMTP id g10so706807ghb.11 for ; Wed, 08 Aug 2012 05:55:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=Cq7cM8B1x2JozeeB+zu1hm1+yaGh2NVUfUykfIWEwPo=; b=d1uvbkxg2T2dPNuxXoc+RQ2tgdGFqIgCvMLIIs2kgdeLUoV5fS9JYlkvOB5Dz8d/AF noUiuD9u3gw+lq/kGJio1sfVxiby14AUNk5U8q1Y2bwAINEJhN7zlp0/9iuZcSJBHsp9 P0v3/mlp0+8njEPH9LcDhezBo7nwMeV/uRu6iHtknGrEk2y547DdCZlsmgT3Vru7sIl1 ooinKTlDqFyQGOZyMqdjUBbwdW5vhV/nOCcRiFym7VVZ3+1i5FUfGAhM5wDIkyEdQsav PVZ4WSYHSQOYeZDbV6lN71G/aedpWhDz0me/xVMl4I1/ToZE2xpYLwQDkLrIG3UKR6hx mugg== Received: by 10.50.94.133 with SMTP id dc5mr832702igb.16.1344430507468; Wed, 08 Aug 2012 05:55:07 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.200 with SMTP id ew8csp605844igc; Wed, 8 Aug 2012 05:55:06 -0700 (PDT) Received: by 10.204.128.68 with SMTP id j4mr2463628bks.122.1344430506184; Wed, 08 Aug 2012 05:55:06 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.126.187]) by mx.google.com with ESMTP id iv6si23296259bkc.72.2012.08.08.05.55.05; Wed, 08 Aug 2012 05:55:06 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.126.187 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.126.187; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.126.187 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de 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 Cc: arm@kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Russell King 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-Gm-Message-State: ALoCoQlWJvwVK8KaqYyHvCOP2pnCBh1oAbqdDX4jAppxkntVxQhrP+C6mm4JJhlkkqNj/sGjl+Un 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"