19 Dec
2014
19 Dec
'14
9:42 p.m.
Hi,
On 10/12/2014 at 20:59:36 +0100, Alexander Stein wrote :
+#ifdef CONFIG_OF +static const struct of_device_id atmel_ac97c_dt_ids[] = {
- { .compatible = "atmel,atmel_ac97c", },
I would use atmel,at91sam9263-ac97c, we never now, maybe they will have another ac97 IP at some point in time ;)
- { }
+}; +MODULE_DEVICE_TABLE(of, atmel_ac97c_dt_ids);
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com