diff mbox

clk: zynq: remove redundant $(CONFIG_ARCH_ZYNQ) in Makefile

Message ID 1437982602-26886-1-git-send-email-yamada.masahiro@socionext.com
State New, archived
Headers show

Commit Message

Masahiro Yamada July 27, 2015, 7:36 a.m. UTC
Kbuild descends into drivers/clk/zynq/ only when CONFIG_ARCH_ZYNQ
is enabled.  (see drivers/clk/Makefile)

$(CONFIG_ARCH_ZYNQ) in drivers/clk/zynq/Makefile always evaluates
to 'y'.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/clk/zynq/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek July 27, 2015, 8:21 a.m. UTC | #1
On 07/27/2015 09:36 AM, Masahiro Yamada wrote:
> Kbuild descends into drivers/clk/zynq/ only when CONFIG_ARCH_ZYNQ
> is enabled.  (see drivers/clk/Makefile)
> 
> $(CONFIG_ARCH_ZYNQ) in drivers/clk/zynq/Makefile always evaluates
> to 'y'.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
> 
>  drivers/clk/zynq/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/zynq/Makefile b/drivers/clk/zynq/Makefile
> index 156d923..0afc2e7 100644
> --- a/drivers/clk/zynq/Makefile
> +++ b/drivers/clk/zynq/Makefile
> @@ -1,3 +1,3 @@
>  # Zynq clock specific Makefile
>  
> -obj-$(CONFIG_ARCH_ZYNQ)	+= clkc.o pll.o
> +obj-y	+= clkc.o pll.o
> 

Applied to zynq/soc branch and will go to mainline via arm-soc.
Let me know if someone else wants to take it via different tree.

Thanks,
Michal
diff mbox

Patch

diff --git a/drivers/clk/zynq/Makefile b/drivers/clk/zynq/Makefile
index 156d923..0afc2e7 100644
--- a/drivers/clk/zynq/Makefile
+++ b/drivers/clk/zynq/Makefile
@@ -1,3 +1,3 @@ 
 # Zynq clock specific Makefile
 
-obj-$(CONFIG_ARCH_ZYNQ)	+= clkc.o pll.o
+obj-y	+= clkc.o pll.o