Re: [PATCH v9 11/17] h8300: clock driver

From: Geert Uytterhoeven
Date: Tue Apr 28 2015 - 06:03:58 EST


Hi Sato-san,

On Tue, Apr 28, 2015 at 11:43 AM, Yoshinori Sato
<ysato@xxxxxxxxxxxxxxxxxxxx> wrote:
>> Clock drivers are generally not 'platform_drivers'. Please do one of two
>> things:
>>
>> a) use CLK_OF_DECLARE() to register a probe function, and use a device
>> tree for describing your hardware
>>
>> b) rename clk_probe() to h8300_clk_init() and just call that function
>> from the architecture code.
>>
>
> OK.
> I'll think of "a".

Which is not an option if you want to postpone DT support...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/