Re: [PATCH 1/3] platform: olpc: mark SPI related data as maybe unused

From: Krzysztof Kozlowski
Date: Thu Mar 16 2023 - 10:17:52 EST


On 16/03/2023 15:13, Hans de Goede wrote:
>
> Looks like your right, the spi_uevent() code always emits "spi:xxxxxxx" style modalias even for dt/of enumerated devices:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/spi/spi.c#n398
>
> So the table needs to stay.
>
> Can you do a v2 (of just this patch) adding an id_table entry to olpc_xo175_ec_spi_driver rather then using __maybe_unused ?

Yes, sure.


Best regards,
Krzysztof