[RESEND PATCH] drm/panel: ld9040: reference spi_device_id table
Sam Ravnborg
sam at ravnborg.org
Sat Jun 19 20:34:59 UTC 2021
Hi Krzysztof
On Wed, May 26, 2021 at 08:30:02AM -0400, Krzysztof Kozlowski wrote:
> Reference the spi_device_id table to silence W=1 warning:
>
> drivers/gpu/drm/panel/panel-samsung-ld9040.c:377:35:
> warning: ‘ld9040_ids’ defined but not used [-Wunused-const-variable=]
>
> This also would be needed for matching the driver if booted without
> CONFIG_OF (although it's not necessarily real case).
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
Thanks, I noticed this warnings in my build and stumbled on this patch
in my inbox.
Applied to drm-misc-fixes,
Sam
More information about the dri-devel
mailing list