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: 6284681 Return-Path: X-Original-To: patchwork-linux-input@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 393A59F1C2 for ; Mon, 27 Apr 2015 23:58:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6E9FD20304 for ; Mon, 27 Apr 2015 23:58:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9F6C82038A for ; Mon, 27 Apr 2015 23:58:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933122AbbD0X6B (ORCPT ); Mon, 27 Apr 2015 19:58:01 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:36786 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932813AbbD0X57 (ORCPT ); Mon, 27 Apr 2015 19:57:59 -0400 Received: by pabsx10 with SMTP id sx10so145576049pab.3; 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 Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-spi@vger.kernel.org, linux-fbdev@vger.kernel.org, alsa-devel@alsa-project.org 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> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 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;