From patchwork Thu Dec 8 11:45:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 31309 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp144889wrr; Thu, 8 Dec 2022 03:47:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf5gOHp9EjebKaghvrtqt2DsDcoqxpcWzsDYVLrW484jdDRt5iRsmqb45CNBDUcZO2NVi23a X-Received: by 2002:a17:90a:f298:b0:219:a032:1760 with SMTP id fs24-20020a17090af29800b00219a0321760mr25495189pjb.88.1670500060124; Thu, 08 Dec 2022 03:47:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670500060; cv=none; d=google.com; s=arc-20160816; b=FpW/gbvN93qivIJ3zOfaC9u7yrpLlXy80C/Nfsi/eyPNwMZ+a94RADi+WYCWFXndxE LtQ5mcdwY6Pm0TLrJa1jxxXA36CxC2FOIbIh5iXlpH0fHYxzcne1lGQIGnuiQiMtFP10 QOP+WBBw93RPl0WRVgpP7heeoivqNrzsERHqnLk0kYp8VcAJeyavgwkCDLBDzuAPcA2V L/3arWeKFarZ10Ux3uRevAeGjBRnBd2au0d6bICDpxxmz9LpdkRgKdkckTrVeBg7hVwM VElhtjixQVs15dKtRh5x0K4A68i6JEHgdmkCwtXvrpI8s+vNHgfFjwgnTcbh5MTJIX/n RZrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Xm2iyTaJGOolXoYl6l2F/xpEy3y6DkX27GrTVj3Ae9w=; b=TUEb0xEwHZzFnU/CwSFGnFwdfSQchhZ3tapp+x8894BEIpKaBLptxg+KtpCrb7OSwq gN5+f7G7jbDeVcdYrRG+pEFRZq5gY7a2tz6Qf0VMCJdvNkc9tpyQgtT1nDNiNkyyg7fZ lQo3HEPHAzLqMqI1nGTUNV1Ndv2bBo31taYlNeeuSBDPlOp8oWOxkwDi+dLrKJMMFQpy lMWrQCBZ3cOwCIKjiNOxUkPFZnAI/jsiIzNy85yQZSr9styGzGFb/SKIxFawZfoLsybH OHBdoh/ceoxnW4h8tTODimV6sF5TYhwwTDOWPMq7u4fu2q5/tpQqo85P3STBSHhi07IR mPbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=UJtw0GpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18-20020a63fa12000000b00477e813f416si22818132pgh.718.2022.12.08.03.47.26; Thu, 08 Dec 2022 03:47:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=UJtw0GpV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229902AbiLHLkP (ORCPT + 99 others); Thu, 8 Dec 2022 06:40:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbiLHLkJ (ORCPT ); Thu, 8 Dec 2022 06:40:09 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A453469312; Thu, 8 Dec 2022 03:40:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1670499608; x=1702035608; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=P2AhuNuw0hhvvoHkPSD7i53bD4Fb2nu00CbdeKoWjDE=; b=UJtw0GpVBZ0lF89aLO8XpuiYkNhUj/GBtviPQyP8bCOfy2bCpsbqXcQC a7kWP8JwGtGgqsIPhQ1R820K/0jVtgK0/q7o+yNnGR1z3HbDW/vg67rwr pCAWKN8cIkGaW7KX4Cmf++0MXjdZNHHZSg/FY4U0vnUuWFcge1ix50y6k ZSDBLp96kVzBbdmtYG68gsQW+0u15DPXFhXf6auuD8yNTTprLbko4sfv3 1zT7FRKgTZQzFWyQZ5LLN6VS+zlrxXxGglRkN5t7vJmiteh5F9DhPh5oN SUMDbc6K3Im6vPyUS0IRQ+7xkDoe7BTz9wMHUF9vxf4JO2JpCOdfulahk A==; X-IronPort-AV: E=Sophos;i="5.96,227,1665471600"; d="scan'208";a="127111689" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Dec 2022 04:40:08 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.12; Thu, 8 Dec 2022 04:40:07 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2507.12 via Frontend Transport; Thu, 8 Dec 2022 04:40:04 -0700 From: Claudiu Beznea To: , , , , CC: , , , Claudiu Beznea Subject: [PATCH 3/3] clk: at91: do not compile dt-compat.c for sama7g5 and sam9x60 Date: Thu, 8 Dec 2022 13:45:15 +0200 Message-ID: <20221208114515.35179-4-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20221208114515.35179-1-claudiu.beznea@microchip.com> References: <20221208114515.35179-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751646270554978845?= X-GMAIL-MSGID: =?utf-8?q?1751646270554978845?= There is no need to have dt-compat.c compiled for SAMA7G5 and SAM9X60 as there is no in kernel device tree that could use it. Thus avoid compiling dt-compat.c for them. Signed-off-by: Claudiu Beznea --- drivers/clk/at91/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/clk/at91/Makefile b/drivers/clk/at91/Makefile index 79301e1c1c36..89061b85e7d2 100644 --- a/drivers/clk/at91/Makefile +++ b/drivers/clk/at91/Makefile @@ -3,7 +3,7 @@ # Makefile for at91 specific clk # -obj-y += pmc.o sckc.o dt-compat.o +obj-y += pmc.o sckc.o obj-y += clk-slow.o clk-main.o clk-pll.o clk-plldiv.o clk-master.o obj-y += clk-system.o clk-peripheral.o clk-programmable.o @@ -15,12 +15,12 @@ obj-$(CONFIG_HAVE_AT91_H32MX) += clk-h32mx.o obj-$(CONFIG_HAVE_AT91_GENERATED_CLK) += clk-generated.o obj-$(CONFIG_HAVE_AT91_I2S_MUX_CLK) += clk-i2s-mux.o obj-$(CONFIG_HAVE_AT91_SAM9X60_PLL) += clk-sam9x60-pll.o -obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o -obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o -obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o -obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o +obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o dt-compat.o +obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o dt-compat.o +obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o dt-compat.o +obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o dt-compat.o obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o -obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o -obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o -obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o +obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o dt-compat.o +obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o dt-compat.o +obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o dt-compat.o obj-$(CONFIG_SOC_SAMA7G5) += sama7g5.o