Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2501982ybi; Mon, 17 Jun 2019 06:03:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZKkhUL0qgGKeuuE26wJsObd6KcMAxt2s2L6aoX/ogIVlrlpHmU/F35lIeZVkpr0aGG2Ww X-Received: by 2002:a17:902:868b:: with SMTP id g11mr104444776plo.183.1560776596944; Mon, 17 Jun 2019 06:03:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560776596; cv=none; d=google.com; s=arc-20160816; b=Skd9XEDqL73QdHmzJSqYm24C/IY0jxEE1RbuI1vO3EL9BQcynEpHFJXMRcsBRDYP1u lbpmYr8/dDyl22HhRnuUHWRjBsT506FrMqrYJf/56zEok1LmGhkiRtdolGAdHms69Sv6 JQTupE6ije/OC4qsa5n/ticXqJGltpuG0UI8U+WbhFOf1jwgSnHVwt6t3Lk4Wyf7c2J9 qy1kGDwTQI9iBp+3S5o/1Qbp1CyINBsjcANJnLiuhbud5Pa2O3COBeWjQoOVHyG+b5FD cY8Pqy1vAynYnu+YzwRjCNCDiB2QzoL/kDVFNhNIl+3YgApnNSY4K1EngQWBZjnUbtcs KeWA== 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:mime-version :message-id:date:subject:cc:to:from; bh=FoXDun2yT7v7r03nff7yl6IHHhuodjDQUwQUK7PjV38=; b=ohalIs9rjfg8BSzGLPZXi15Sr9kmTqZbDTAT8ror2c8fgRoDPQw/rkbHH+69Yqsodg 7YHIrX8suSuMQBuhk+aSklSlXR3TzrWRIkUwsg2zircaEUez8ZwfuVL5IkpwdVtr04rl V/p18cad12R1HGYp10oMp3OTw0qy0i8PYb4h0YByNpD98uv/BiG2R3wkahL3UoACyTJ2 Q3ASnu8Ah3aBV/2oXvrzuUxt+wdySHtctn5D/WORasHQJPo5u6ngFySl1X+AnwiOftcK USAO0ILNrxr8j4//plFenybIgWDT7xtOp/UEcw7IF7WRM37TzupXDm9k+DtaKuseUquD Zqyw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c8si10325651pje.30.2019.06.17.06.02.59; Mon, 17 Jun 2019 06:03:16 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728017AbfFQNCH (ORCPT + 99 others); Mon, 17 Jun 2019 09:02:07 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:41391 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725983AbfFQNCH (ORCPT ); Mon, 17 Jun 2019 09:02:07 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.129]) with ESMTPA (Nemesis) id 1MT9v5-1i3cOz1DcF-00UeXy; Mon, 17 Jun 2019 15:01:54 +0200 From: Arnd Bergmann To: Santosh Shilimkar Cc: Arnd Bergmann , Lokesh Vutla , Marc Zyngier , Olof Johansson , Tony Lindgren , Nishanth Menon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] soc: ti: fix irq-ti-sci link error Date: Mon, 17 Jun 2019 15:01:05 +0200 Message-Id: <20190617130149.1782930-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:FRdEe6tjuV8KyxJSyrTdyhJaUWE5AS9D7M4jEyC+sBbLA/FibZc DYw+IyzPdm/Jp25ioQ6PWJYlw51JAUxTu7+Hfs80p/pul4o4y+21YGFbHBdYwE8p5ap0von g++GFuW5ry3GclAiTwmHWDNf+QQxkiLPWOp5mhatqbbgseGiluC8lTi2pLMXg69dVNYzfLv VlhXhp1PNhNWvhlccS/xg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Zd06hkM9Szw=:mMYc/1oT1VBq+1iFcHYDsw +dPi8sODpQ5PmH/geIGQNy+AiBUO5PB0DyfiOtJWGL4eksx8/x9XC3W9EWffYtiEFSAIhwpma K22sxiWrsBUKBRjuNuYMF5WkHymqHAaQg5r2ywmVlX96+8I6CL9gGjZ80wHzmBOWwJAmYoxgB RK5kA9QjgoKgsosNxy79ufYjSqtdRPxK9uU71EpIC6ofYCxJZdxNHAsNRCZEvSKEtq9CaHoah wLwmSWeNtfvnk3/Esi7H4Wy5hnRmDzQZqAazjWU2Sy6oWQDNvRrGlCaRhAYrSP1uZeOm8J4J2 9jp0JjgaUKqajvKGI14a4Ygt4ZpyJGmw0AY7fbVpGlkve4vufJsNUhZPdpLAfBdsgW9on7GEj q6dk0icEfK6IlX8XgEgPVyuNTefCgVlSW87o+KTS1McMUSKgxZ0aQtm5DEp/J64VcFxjN9iqD 8qAdv809c2TlJeP4ZwBw43I1w6vsJGFz74W43TVdOKP6WSac+0SYL1+YlByW3xzYMUKiHSvys kLmRn8U79CTj3GceSuGouRqIh2BuXx9ZtJCkXDcYj90HwHcYcuL2TbN552XEJfutO3brF0nI+ QHLXDVFLNoX8fslO8ULdjA7gvinfTrDNZfLHaVnZ6SGsIl1iJBunfubMwER5BNMZ2ooemo3/G HSTCPBHRmEsKaswQRPNzLyg1U0NXBLBitKuDhgxs7kUS3wFu1EICV9SwQzhGm4+FrSKa4Eime jhYi5pax9Gkdd/2fLOmYX2vcXLxm/TaQ5IeYFQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The irqchip driver depends on the SoC specific driver, but we want to be able to compile-test it elsewhere: WARNING: unmet direct dependencies detected for TI_SCI_INTA_MSI_DOMAIN Depends on [n]: SOC_TI [=n] Selected by [y]: - TI_SCI_INTA_IRQCHIP [=y] && TI_SCI_PROTOCOL [=y] drivers/irqchip/irq-ti-sci-inta.o: In function `ti_sci_inta_irq_domain_probe': irq-ti-sci-inta.c:(.text+0x204): undefined reference to `ti_sci_inta_msi_create_irq_domain' Rearrange the Kconfig and Makefile so we build the soc driver whenever its users are there, regardless of the SOC_TI option. Fixes: 49b323157bf1 ("soc: ti: Add MSI domain bus support for Interrupt Aggregator") Fixes: f011df6179bd ("irqchip/ti-sci-inta: Add msi domain support") Signed-off-by: Arnd Bergmann --- drivers/soc/Makefile | 2 +- drivers/soc/ti/Kconfig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 524ecdc2a9bb..2ec355003524 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -22,7 +22,7 @@ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_SOC_SAMSUNG) += samsung/ obj-y += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ -obj-$(CONFIG_SOC_TI) += ti/ +obj-y += ti/ obj-$(CONFIG_ARCH_U8500) += ux500/ obj-$(CONFIG_PLAT_VERSATILE) += versatile/ obj-y += xilinx/ diff --git a/drivers/soc/ti/Kconfig b/drivers/soc/ti/Kconfig index ea0859f7b185..d7d50d48d05d 100644 --- a/drivers/soc/ti/Kconfig +++ b/drivers/soc/ti/Kconfig @@ -75,10 +75,10 @@ config TI_SCI_PM_DOMAINS called ti_sci_pm_domains. Note this is needed early in boot before rootfs may be available. +endif # SOC_TI + config TI_SCI_INTA_MSI_DOMAIN bool select GENERIC_MSI_IRQ_DOMAIN help Driver to enable Interrupt Aggregator specific MSI Domain. - -endif # SOC_TI -- 2.20.0