From patchwork Mon Apr 27 23:55:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 6285041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3CA989F326 for ; Tue, 28 Apr 2015 00:12:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4F80920376 for ; Tue, 28 Apr 2015 00:12:52 +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 9014720374 for ; Tue, 28 Apr 2015 00:12:51 +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 1Ymt61-0000Kb-Qb; Tue, 28 Apr 2015 00:09:53 +0000 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ymsuq-00079k-Q0 for linux-arm-kernel@lists.infradead.org; Mon, 27 Apr 2015 23:58:21 +0000 Received: by pdbqd1 with SMTP id qd1so144867158pdb.2 for ; Mon, 27 Apr 2015 16:57:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jwZrZefrKEszyEYaUJFEMqnD/XO/Vf/v91kwjaxCko4=; b=dUEjxFquepT0KMPM1NrE471MNIfR6ZAlC1KDe5/fs33sQzaymW6ZxQ5aY/gG3T7qyN 3KcpcCnFBN+rDxMi6pfIPaSbFwJyJ/cn2Tix8fDDJdJC8OSaxnbVL3X9OyjOIK1AGSPK nl3oMIejTHbJxx9JWTLC0TBUOghdTeTChgLQsQQIVl9IWLTqLbc92leftPgrEyVM6wys FVKwLFUmrSUPL9LyhzxRlKOpxEyR7s4qgIYp8ApNME/zqgps719enGCM7PhlzhP0XXB/ Cuh12cOz9L8C1H5WoeM7I+dE/XTtob3OU/JwLMZhLu8kdnmTuX1zwhsIGomwNfqWCXxH Gvcg== X-Received: by 10.70.91.104 with SMTP id cd8mr26986036pdb.94.1430179079156; Mon, 27 Apr 2015 16:57:59 -0700 (PDT) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id pv2sm20428375pbb.12.2015.04.27.16.57.52 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Apr 2015 16:57:58 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Russell King , Daniel Mack , Robert Jarzmik , Linus Walleij , Alexandre Courbot , Wolfram Sang , Dmitry Torokhov , Bryan Wu , Richard Purdie , Samuel Ortiz , Lee Jones , Mark Brown , Jingoo Han , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Liam Girdwood , Andrea Adami Subject: [PATCH v2 15/17] ARM: pxa: poodle: don't preallocate IRQ space for locomo Date: Tue, 28 Apr 2015 02:55:52 +0300 Message-Id: <1430178954-11138-16-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1430178954-11138-1-git-send-email-dbaryshkov@gmail.com> References: <1430178954-11138-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150427_165820_905201_15228F7E X-CRM114-Status: GOOD ( 10.19 ) X-Spam-Score: -0.8 (/) Cc: linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org, linux-spi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 As new locomo driver supports SPARSE_IRQ, don't preallocate NR_IRQS space for it on poodle. Signed-off-by: Dmitry Eremin-Solenikov Acked-by: Robert Jarzmik --- arch/arm/mach-pxa/include/mach/poodle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-pxa/include/mach/poodle.h b/arch/arm/mach-pxa/include/mach/poodle.h index dd4afae..1fdde6b 100644 --- a/arch/arm/mach-pxa/include/mach/poodle.h +++ b/arch/arm/mach-pxa/include/mach/poodle.h @@ -93,7 +93,7 @@ #define POODLE_GPIO_232VCC_ON (POODLE_LOCOMO_GPIO_BASE + 12) #define POODLE_GPIO_JK_B (POODLE_LOCOMO_GPIO_BASE + 13) -#define POODLE_NR_IRQS (IRQ_BOARD_START + 4) /* 4 for LoCoMo */ +#define POODLE_NR_IRQS IRQ_BOARD_START extern struct platform_device poodle_locomo_device;