diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2022-09-15 19:31:56 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-10-03 22:48:41 +0300 |
commit | bd8eb086611a7eb6bd03da2f4c3bddc64d082201 (patch) | |
tree | 8d7dc434431f0b34ade5fbe77bbdd1eb3dc0199e /drivers/gpu/drm/panel | |
parent | 08fb97de03aa2205c6791301bd83a095abc1949c (diff) | |
download | linux-bd8eb086611a7eb6bd03da2f4c3bddc64d082201.tar.xz |
drm/panel: db7430: Silent no spi_device_id warning
Add spi_device_id entries to silent following SPI warning:
SPI driver db7430-panel has no spi_device_id for samsung,lms397kf04
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220915163156.2519577-1-weiyongjun@huaweicloud.com
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r-- | drivers/gpu/drm/panel/panel-samsung-db7430.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-samsung-db7430.c b/drivers/gpu/drm/panel/panel-samsung-db7430.c index 04640c5256a8..117b26845083 100644 --- a/drivers/gpu/drm/panel/panel-samsung-db7430.c +++ b/drivers/gpu/drm/panel/panel-samsung-db7430.c @@ -331,9 +331,16 @@ static const struct of_device_id db7430_match[] = { }; MODULE_DEVICE_TABLE(of, db7430_match); +static const struct spi_device_id db7430_ids[] = { + { "lms397kf04" }, + { }, +}; +MODULE_DEVICE_TABLE(spi, db7430_ids); + static struct spi_driver db7430_driver = { .probe = db7430_probe, .remove = db7430_remove, + .id_table = db7430_ids, .driver = { .name = "db7430-panel", .of_match_table = db7430_match, |