Skip to content

Commit c71b7aa

Browse files
TravMuravsuperna9999
authored andcommitted
drm/panel: samsung-s6d7aa0: Add MODULE_DEVICE_TABLE
The driver can be built as a module, however the lack of the MODULE_DEVICE_TABLE macro prevents it from being automatically probed from the DT in such case. Add the missed macro to make sure the module can load automatically. Fixes: 6810bb3 ("drm/panel: Add Samsung S6D7AA0 panel controller driver") Signed-off-by: Nikita Travkin <nikita@trvn.ru> Acked-by: Artur Weber <aweber.kernel@gmail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230802-gt5-panel-dtable-v1-1-c0a765c175e2@trvn.ru
1 parent ee31742 commit c71b7aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ static const struct of_device_id s6d7aa0_of_match[] = {
569569
},
570570
{ /* sentinel */ }
571571
};
572+
MODULE_DEVICE_TABLE(of, s6d7aa0_of_match);
572573

573574
static struct mipi_dsi_driver s6d7aa0_driver = {
574575
.probe = s6d7aa0_probe,

0 commit comments

Comments
 (0)