mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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
This commit is contained in:
parent
08fb97de03
commit
bd8eb08661
1 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue