Re: [PATCH 2/4] watchdog: twl4030_wdt: add missing of.h include

From: Andy Shevchenko
Date: Tue Sep 27 2022 - 08:23:59 EST


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