[PATCH v2] clk: Add axi-clkgen driver

Lars-Peter Clausen lars at metafoo.de
Sat Feb 16 03:47:40 EST 2013


On 02/16/2013 03:52 AM, Mike Turquette wrote:
> Quoting Lars-Peter Clausen (2013-01-23 06:04:52)
>> +static const struct of_device_id axi_clkgen_ids[] = {
>> +       { .compatible = "adi,axi-clkgen-1.00.a" },
>> +       { },
>> +};
>> +MODULE_DEVICE_TABLE(of, axi_clkgen_ids);
> 
> This method is deprecated.  Can you convert over to the newer
> of_clk_init method?  See:
> 
> http://git.linaro.org/gitweb?p=people/mturquette/linux.git;a=commit;h=f2f6c2556dcc432e50003bc8fa4d62d95906f149

Hi,

I'm not sure this makes sense here. That would mean completely bypassing the
device driver model. And since this device is on a kind of external bus it may
or may not be present at the time of_clk_init() runs.

- Lars



More information about the linux-arm-kernel mailing list