Skip to content

Commit 80519d8

Browse files
committed
clk: at91: do not compile dt-compat.c for sama7g5 and sam9x60
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 68b3b6f commit 80519d8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

drivers/clk/at91/Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Makefile for at91 specific clk
44
#
55

6-
obj-y += pmc.o sckc.o dt-compat.o
6+
obj-y += pmc.o sckc.o
77
obj-y += clk-slow.o clk-main.o clk-pll.o clk-plldiv.o clk-master.o
88
obj-y += clk-system.o clk-peripheral.o clk-programmable.o
99

@@ -15,12 +15,12 @@ obj-$(CONFIG_HAVE_AT91_H32MX) += clk-h32mx.o
1515
obj-$(CONFIG_HAVE_AT91_GENERATED_CLK) += clk-generated.o
1616
obj-$(CONFIG_HAVE_AT91_I2S_MUX_CLK) += clk-i2s-mux.o
1717
obj-$(CONFIG_HAVE_AT91_SAM9X60_PLL) += clk-sam9x60-pll.o
18-
obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o
19-
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o
20-
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o
21-
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o
18+
obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o dt-compat.o
19+
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9260.o at91sam9rl.o at91sam9x5.o dt-compat.o
20+
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9g45.o dt-compat.o
21+
obj-$(CONFIG_SOC_AT91SAM9) += at91sam9n12.o at91sam9x5.o dt-compat.o
2222
obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o
23-
obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o
24-
obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o
25-
obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o
23+
obj-$(CONFIG_SOC_SAMA5D3) += sama5d3.o dt-compat.o
24+
obj-$(CONFIG_SOC_SAMA5D4) += sama5d4.o dt-compat.o
25+
obj-$(CONFIG_SOC_SAMA5D2) += sama5d2.o dt-compat.o
2626
obj-$(CONFIG_SOC_SAMA7G5) += sama7g5.o

0 commit comments

Comments
 (0)