Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp401884imj; Thu, 7 Feb 2019 06:10:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IZWCE+1cysErv+wsjuYB/9Xi7N9zPVUItWLed6CoL49t0Mz6u1id7f/4QzvM+KUO0fWM584 X-Received: by 2002:a62:4e83:: with SMTP id c125mr16461840pfb.101.1549548601513; Thu, 07 Feb 2019 06:10:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549548601; cv=none; d=google.com; s=arc-20160816; b=WW15WHRh2jcWwcfa5g/mBJdGdZqVlAcJUJqy45Joa6AETZvsafbzz8AYzQgXRjcnSK 2yOF8Ss/UOtppKRuyZ7hSCXrL0/xGD+ntmz6MNZWhcPXqgTrB6n+7x3Q8VE8yw5ZQA5J l526f9lXSRyqhX5ylN2stU9yp3fIreTo/uQOSqNiHr6mOgfDe6X4TVV6vQjMR004u26I B0Yy9vhRk9mO9z1i/+t668M6QZiKObKtTHcIJdCjk4aj4qfempVOT/bQTVIUswoLiPC0 TXzARVFlVwum3F+3bZMFM/TX889P9IKPx25ZrgNGxp4nX2XPB3LbDaEiKM7je4WFs5tL CbQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=iKQqQ4B2hwiH2hM0XcpljoPwFxXZdlbKWIjZ+SkptXU=; b=XIybVKGwE8E3V7eXBfdMnKQOaGGaTeL7x1XBYKNuPTsArRuDd4H3N7QYjwUJXzbSSf adD5yPsrYx/UxVCTEYzGXunrpmCEDWp6gL6Ob4Q4SuYasMDzOso8uBdEkPOYH8D6l3tS Fx3KYwdpWd3jZNiPr7Ty1Cdw6K2irhpnTf1p26f1drL06NHZKa+crWAoU/zDQKmZ0Ah3 pgTcd815ou/vrWeiWShd2QpWoug8htHgtzH1ns/wIeCQHvmaCN/oChvQlpXQBgP7qfMs npVMqRTIsa4t1LaHrL7VDGH9o2uZudbplX5SDn7Wq/L8x3pePqwaxvaq8ie29+7/NwTZ ZhNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jwzrbNkv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si8839495pgk.127.2019.02.07.06.09.44; Thu, 07 Feb 2019 06:10:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jwzrbNkv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726979AbfBGOIC (ORCPT + 99 others); Thu, 7 Feb 2019 09:08:02 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:48868 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726795AbfBGOIC (ORCPT ); Thu, 7 Feb 2019 09:08:02 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x17E7igA126386; Thu, 7 Feb 2019 08:07:44 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1549548464; bh=iKQqQ4B2hwiH2hM0XcpljoPwFxXZdlbKWIjZ+SkptXU=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=jwzrbNkvPmlcAeXVHuhWz91QxubKLeCkiXs6II7PCwiYqnerWIjsQAFlwOsFOTKfs amdHhYeluNclrwKIi70e3cR+8qF/5hW/iWhPbSq0Q1jkofIyZCLlkUQuc5h5iR3YYb Ak/PL4CvfEg47be18Jcm0JI7vPwMVihyAGK9kXBo= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x17E7iwG105574 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Feb 2019 08:07:44 -0600 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Thu, 7 Feb 2019 08:07:43 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Thu, 7 Feb 2019 08:07:44 -0600 Received: from [172.24.190.172] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x17E7e8N000513; Thu, 7 Feb 2019 08:07:41 -0600 Subject: Re: [PATCH 33/35] ARM: davinci: prepare to remove mach/irqs.h To: Bartosz Golaszewski , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier CC: , , Bartosz Golaszewski References: <20190131133928.17985-1-brgl@bgdev.pl> <20190131133928.17985-34-brgl@bgdev.pl> From: Sekhar Nori Message-ID: <73e93586-5681-4a37-04f4-da8d666adc59@ti.com> Date: Thu, 7 Feb 2019 19:37:40 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190131133928.17985-34-brgl@bgdev.pl> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 31/01/19 7:09 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Since we now select SPARSE_IRQ in davinci, the mach/irqs.h header is > no longer included from asm/irq.h. All interrupt numbers for devices > should be defined as platform device resources. Let's prepare for the > removal of mach/irqs.h by moving all defines that we want to keep to > relevant headers (davinci.h, common.h) and replacing others with > simple literals. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/mach-davinci/board-da830-evm.c | 2 +- > arch/arm/mach-davinci/board-da850-evm.c | 4 ++-- > arch/arm/mach-davinci/board-dm644x-evm.c | 2 +- > arch/arm/mach-davinci/board-dm646x-evm.c | 2 +- > arch/arm/mach-davinci/da830.c | 2 +- > arch/arm/mach-davinci/da850.c | 2 +- > arch/arm/mach-davinci/davinci.h | 2 ++ > arch/arm/mach-davinci/include/mach/common.h | 5 +++++ > arch/arm/mach-davinci/include/mach/irqs.h | 18 ------------------ > 9 files changed, 14 insertions(+), 25 deletions(-) > > diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c > index b3a0148f7f1a..950e98e4eda5 100644 > --- a/arch/arm/mach-davinci/board-da830-evm.c > +++ b/arch/arm/mach-davinci/board-da830-evm.c > @@ -488,7 +488,7 @@ static int da830_evm_ui_expander_teardown(struct i2c_client *client, int gpio, > } > > static struct pcf857x_platform_data __initdata da830_evm_ui_expander_info = { > - .gpio_base = DAVINCI_N_GPIO, > + .gpio_base = 144, Why drop DAVINCI_N_GPIO instead of just moving it to a local header file? Thanks, Sekhar