From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Add spi_device_id entries to silent following SPI warning: SPI driver panel-innolux-ej030na has no spi_device_id for innolux,ej030na Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> --- drivers/gpu/drm/panel/panel-innolux-ej030na.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-innolux-ej030na.c b/drivers/gpu/drm/panel/panel-innolux-ej030na.c index b2b0ebc9e943..281662ba2520 100644 --- a/drivers/gpu/drm/panel/panel-innolux-ej030na.c +++ b/drivers/gpu/drm/panel/panel-innolux-ej030na.c @@ -293,6 +293,12 @@ static const struct of_device_id ej030na_of_match[] = { }; MODULE_DEVICE_TABLE(of, ej030na_of_match); +static const struct spi_device_id ej030na_ids[] = { + { "ej030na", (kernel_ulong_t)&ej030na_info }, + { }, +}; +MODULE_DEVICE_TABLE(spi, ej030na_ids); + static struct spi_driver ej030na_driver = { .driver = { .name = "panel-innolux-ej030na", @@ -300,6 +306,7 @@ static struct spi_driver ej030na_driver = { }, .probe = ej030na_probe, .remove = ej030na_remove, + .id_table = ej030na_ids, }; module_spi_driver(ej030na_driver); -- 2.34.1