Re: [PATCH 2/3] mtd: spi-nor: explicitly include <linux/mod_devicetable.h>
From: Tudor Ambarus
Date: Fri Mar 07 2025 - 07:22:07 EST
On 3/7/25 8:22 AM, Miquel Raynal wrote:
> Hello Tudor,
Hi, Miquel!
>
> On 07/03/2025 at 09:09:06 +02, Tudor Ambarus <tudor.ambarus@xxxxxxxxxx> wrote:
>
>> The core driver is using 'struct of_device_id' and relies on implicit
>> inclusion of <linux/mod_devicetable.h>, which comes from
>> <linux/of_platform.h>.
>
> It is actually included from of.h now (since patch 1) and I wonder
> whether there is a need for it to be included explicitly. As a user it
> feels like "of.h" should already include whatever is needed for us (and
Seems so. I'll drop this patch. Thanks!
ta