Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1167623

Re: [PATCH] clk: at91: add generated clock driver

From Paul Bolle <pebolle@tiscali.nl>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: at91: add generated clock driver
Date 2015-06-18 09:20 +0200
Message-ID <pCChc-1pQ-7@gated-at.bofh.it> (permalink)
References <pClzI-2BX-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, 2015-06-17 at 15:23 +0200, Nicolas Ferre wrote:

> --- a/arch/arm/mach-at91/Kconfig
> +++ b/arch/arm/mach-at91/Kconfig
 
> +config HAVE_AT91_GENERATED
> +	bool

This will always be 'n'.  

> --- a/drivers/clk/at91/Makefile
> +++ b/drivers/clk/at91/Makefile

> +obj-$(CONFIG_HAVE_AT91_GENERATED)	+= clk-generated.o

And clk-generated.o will never be built.

I think your options are to use
	config HAVE_AT91_GENERATED
		def_bool y

or
	config HAVE_AT91_GENERATED
		bool "Yadda yadda yadda"

or add
	select HAVE_AT91_GENERATED

somewhere (possibly even in a second patch). But as it stands the patch
looks like an elaborate NOP.

Thanks,


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] clk: at91: add generated clock driver Paul Bolle <pebolle@tiscali.nl> - 2015-06-18 09:20 +0200
  Re: [PATCH] clk: at91: add generated clock driver Boris Brezillon <boris.brezillon@free-electrons.com> - 2015-06-18 09:40 +0200
    Re: [PATCH] clk: at91: add generated clock driver Paul Bolle <pebolle@tiscali.nl> - 2015-06-18 09:50 +0200
    Re: [PATCH] clk: at91: add generated clock driver Nicolas Ferre <nicolas.ferre@atmel.com> - 2015-06-18 09:50 +0200
      Re: [PATCH] clk: at91: add generated clock driver Paul Bolle <pebolle@tiscali.nl> - 2015-06-18 10:00 +0200

csiph-web