Re: [PATCH] gpio: vf610: add missing MODULE_DEVICE_TABLE()
From: Linus Walleij
Date: Fri Jul 10 2026 - 14:00:24 EST
On Sat, Jul 4, 2026 at 2:21 PM Pengpeng Hou <pengpeng@xxxxxxxxxxx> wrote:
> The driver has an OF match table wired to .of_match_table, but does
> not export the table with MODULE_DEVICE_TABLE().
>
> Add the missing MODULE_DEVICE_TABLE(of, ...) entry so module alias
> information is generated for OF based module autoloading.
>
> This is a source-level fix. It does not claim dynamic hardware
> reproduction; the evidence is the driver-owned match table, its use by
> the platform driver, and the missing module alias publication.
>
> Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>
Yours,
Linus Walleij