Re: [PATCH v2] clk: Add axi-clkgen driver

From: Lars-Peter Clausen
Date: Sat Feb 16 2013 - 03:46:01 EST


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
--
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/