Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1626763
| From | Marcel Holtmann <marcel@holtmann.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ieee802154: don't select COMMON_CLK |
| Date | 2017-04-19 22:20 +0200 |
| Message-ID | <ty4f0-7QW-17@gated-at.bofh.it> (permalink) |
| References | <ty1K9-6hB-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Arnd,
> A device driver must not select the COMMON_CLK subsystem, as that conflicts
> with platforms that provide a legacy implementation of the clk API:
>
> drivers/clk/clk.o: In function `clk_enable':
> clk.c:(.text.clk_enable+0x0): multiple definition of `clk_enable'
> arch/arm/mach-sa1100/clock.o:clock.c:(.text.clk_enable+0x0): first defined here
> drivers/clk/clk.o: In function `clk_round_rate':
> clk.c:(.text.clk_round_rate+0x0): multiple definition of `clk_round_rate'
> arch/arm/mach-sa1100/clock.o:clock.c:(.text.clk_round_rate+0x0): first defined here
> drivers/clk/clk.o: In function `clk_get_parent':
> clk.c:(.text.clk_get_parent+0x0): multiple definition of `clk_get_parent'
> arch/arm/mach-sa1100/clock.o:clock.c:(.text.clk_get_parent+0x0): first defined here
> drivers/clk/clk.o: In function `clk_get_rate':
> clk.c:(.text.clk_get_rate+0x0): multiple definition of `clk_get_rate'
>
> This changes the 'select' into 'depends on', as all other similar drivers do.
>
> Fixes: d931acd575d6 ("ieee802154: Add CA8210 IEEE 802.15.4 device driver")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/net/ieee802154/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ieee802154: don't select COMMON_CLK Arnd Bergmann <arnd@arndb.de> - 2017-04-19 19:40 +0200 Re: [PATCH] ieee802154: don't select COMMON_CLK Marcel Holtmann <marcel@holtmann.org> - 2017-04-19 22:20 +0200
csiph-web