提交 e9c7cfe7 编写于 作者: C Carlo Caione 提交者: Neil Armstrong

drm/tiny: ili9486: Enable driver module autoloading

SPI devices use the spi_device_id for module autoloading even on
systems using device tree.

Add the spi_device_id entry to enable autoloading for the 3.5inch RPi
Display (rpi-lcd-35 and piscreen).
Reviewed-by: NNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: NCarlo Caione <ccaione@baylibre.com>
Reviewed-by: NKamlesh Gurudasani <kamlesh.gurudasani@gmail.com>
Signed-off-by: NNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221116-s905x_spi_ili9486-v4-1-f86b4463b9e4@baylibre.com
上级 12cf36c7
...@@ -180,6 +180,8 @@ MODULE_DEVICE_TABLE(of, ili9486_of_match); ...@@ -180,6 +180,8 @@ MODULE_DEVICE_TABLE(of, ili9486_of_match);
static const struct spi_device_id ili9486_id[] = { static const struct spi_device_id ili9486_id[] = {
{ "ili9486", 0 }, { "ili9486", 0 },
{ "rpi-lcd-35", 0 },
{ "piscreen", 0 },
{ } { }
}; };
MODULE_DEVICE_TABLE(spi, ili9486_id); MODULE_DEVICE_TABLE(spi, ili9486_id);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册