Skip to content

Commit

Permalink
drm: panel: waveshare: Remove duplicated sentinel on compatible list
Browse files Browse the repository at this point in the history
Remove the duplicated sentinel that got added, otherwise we have
an extra blank compatible string match in the module, and that matches
everything.

$ modinfo panel_waveshare_dsi
filename:       /lib/modules/6.6.50-v8+/kernel/drivers/gpu/drm/panel/panel-waveshare-dsi.ko.xz
license:        GPL
description:    Waveshare DSI panel driver
author:         Dave Stevenson <[email protected]>
srcversion:     E767180DABD8B00B45571AF
alias:          of:N*T*C*
alias:          of:N*T*
alias:          of:N*T*Cwaveshare,8.8inch-panelC*
alias:          of:N*T*Cwaveshare,8.8inch-panel

Fixes: f955b78 ("drivers:gpu:drm:panel: Added waveshare 5.0inch, 6.25inch, and 8.8inch dsi screen devices")
Signed-off-by: Dave Stevenson <[email protected]>
  • Loading branch information
6by9 authored and pelwell committed Sep 12, 2024
1 parent d6a3a3f commit 7a3d1c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/panel/panel-waveshare-dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ static const struct of_device_id ws_panel_of_ids[] = {
}, {
.compatible = "waveshare,8.8inch-panel",
.data = &ws_panel_8_8_mode,
}, {
}, {
/* sentinel */
}
Expand Down

0 comments on commit 7a3d1c2

Please sign in to comment.