From patchwork Tue Oct 9 20:13:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 12079 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 C509823F6D for ; Tue, 9 Oct 2012 20:14:08 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6CC16A18D88 for ; Tue, 9 Oct 2012 20:14:08 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so12072696iej.11 for ; Tue, 09 Oct 2012 13:14:07 -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=oBTyb5EmZ/0Cp94AhNaY5txJMqbdWIHtzWSPlEUTrDo=; b=CCmf8fHt+UMrDThwSUqWtjRLDe2cH1RsKldo0LS52XcIBKH6W7PrSB6PEMurJ5uv3E /9JXjgNuLX95JBvTCHmLa49+XsTWFbvrjbvWcoQpgS4UyM9YAAmQrApjsNAqc3oPjuaG alKXj8KVtTE7vV+D8aNClKOPUGpOsQevWBHtcrjeJo+1rqS5O8VG+mIgwXwHtZ5vK6J7 bgDizGjoiVccbu4FfD8cOC5g88RG8Q1X3TUBnT4r7TgofApjT0zbbzbhLd94Ijkc5nBf 46XqMkb72/W+5P6tZKBtjlzB2MLLNC0bwtxChFFE4t9ApizmdB5YgwSwQ1sjvLTwJZ8w eo2w== Received: by 10.50.91.195 with SMTP id cg3mr2982392igb.57.1349813647679; Tue, 09 Oct 2012 13:14: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.67.148 with SMTP id n20csp113865igt; Tue, 9 Oct 2012 13:14:06 -0700 (PDT) Received: by 10.180.87.34 with SMTP id u2mr7177932wiz.3.1349813645405; Tue, 09 Oct 2012 13:14:05 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.10]) by mx.google.com with ESMTPS id gv10si27674643wib.3.2012.10.09.13.14.04 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 09 Oct 2012 13:14:05 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.17.10 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.17.10; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.17.10 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from klappe2.lan (HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de [149.172.5.253]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0LhYCz-1Thrje02i1-00mrDN; Tue, 09 Oct 2012 22:14:03 +0200 From: Arnd Bergmann To: arm@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Russell King , "James E.J. Bottomley" , linux-scsi@vger.kernel.org Subject: [PATCH v2 1/8] SCSI: ARM: ncr5380/oak uses no interrupts Date: Tue, 9 Oct 2012 22:13:51 +0200 Message-Id: <1349813638-4617-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349813638-4617-1-git-send-email-arnd@arndb.de> References: <1349813638-4617-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:mq1y1hTfh8IkQtWKmBJ04Ddcd/e3j+BxS8y0vNIW/QA Aeil6eUVSPNmKmf5KrdIm2QKy1lN59szZdbolRJlioUtvbXa1l g1zWnFRSMSrC9N76qgR+W6/WP+QwCrIsm5rq370T83jTMH4rSg zpDQuwKwvyLBm5Oq2LwSeNAF9ZBD1Ql7vfc6BZSuk+3XGEdk9H crt9BRuBMzJPJYAWcbnWUlmioCeYqaz127U3oIFzzDqV6ZKDKm TCttOU2O0YG4pZm1qWJXGErYeQvp5+hq1OgWLAYYMsWH47NkJR sQCLSrDkrikjjs54cCIYYN1/z80AFPbkvNj3mASit6T42oaGxA JgUmla4Ot1//ADw/35xWrsNrpwzliDfxH/Br7OdG+ X-Gm-Message-State: ALoCoQk129RqEYe7jn8FnB4nBezlP3J7sUVHHtMo4GRPVDi9lyRT/vjV8op79uvs0W754sKg28lR The ncr5380 driver is included by multiple board specific drivers, which may or may not use the interrupt handler. The oak variant doesn't, and should set the DONT_USE_INTR macro. Without this patch, building rpc_defconfig results in: drivers/scsi/arm/../NCR5380.c:1160:20: warning: 'oakscsi_intr' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann Cc: Russell King Cc: "James E.J. Bottomley" Cc: linux-arm-kernel@lists.infradead.org Cc: linux-scsi@vger.kernel.org --- drivers/scsi/arm/oak.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/arm/oak.c b/drivers/scsi/arm/oak.c index d25f944..fc6a5aa 100644 --- a/drivers/scsi/arm/oak.c +++ b/drivers/scsi/arm/oak.c @@ -21,6 +21,7 @@ /*#define PSEUDO_DMA*/ #define OAKSCSI_PUBLIC_RELEASE 1 +#define DONT_USE_INTR #define priv(host) ((struct NCR5380_hostdata *)(host)->hostdata) #define NCR5380_local_declare() void __iomem *_base