From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Add spi_device_id entries to silent following SPI warning: SPI driver nv3052c has no spi_device_id for leadtek,ltk035c5444t Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c index cf078f0d3cd3..ce0d43966275 100644 --- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c +++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c @@ -467,6 +467,12 @@ static const struct of_device_id nv3052c_of_match[] = { }; MODULE_DEVICE_TABLE(of, nv3052c_of_match); +static const struct spi_device_id nv3052c_ids[] = { + { "ltk035c5444t", (kernel_ulong_t)<k035c5444t_panel_info }, + { }, +}; +MODULE_DEVICE_TABLE(spi, nv3052c_ids); + static struct spi_driver nv3052c_driver = { .driver = { .name = "nv3052c", @@ -474,6 +480,7 @@ static struct spi_driver nv3052c_driver = { }, .probe = nv3052c_probe, .remove = nv3052c_remove, + .id_table = nv3052c_ids, }; module_spi_driver(nv3052c_driver); -- 2.34.1