>>> +};
>>> +MODULE_DEVICE_TABLE(i2c, max665x_id);
>>> +
>>> +static struct i2c_driver max665x_driver = {
>>> +     .driver = {
>>> +             .name = "max665x",
>>> +             .owner = THIS_MODULE,
>>
>> All new drivers are required to support Device Tree.
>
> Do you have some recommendation for documentation, examples, etc? I am
> new to this.

I see .of_match_table added in certain mfd drivers, but I am not sure
what I should put into the name or even the compatible member, I see
them boot neglected in various drivers. The structure here does not
seem to be documented either:
http://lxr.free-electrons.com/source/include/linux/mod_devicetable.h#L220

I do not know where to get the information for the .name and/or
.compatible entry for, or if I need anything more.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to