Messages in this thread | | | Date | Tue, 27 Sep 2022 15:23:43 +0300 | From | Andy Shevchenko <> | Subject | Re: [PATCH 2/4] watchdog: twl4030_wdt: add missing of.h include |
| |
On Mon, Sep 26, 2022 at 10:22:14PM -0700, Dmitry Torokhov wrote: > The driver is using of_device_id and therefore needs to include > of.h header.
This is incorrect. For of_device_id the mod_devicetable.h should be used.
> We used to get this definition indirectly via inclusion > of matrix_keypad.h from twl.h, but we are cleaning up matrix_keypad.h > from unnecessary includes.
-- With Best Regards, Andy Shevchenko
| |