0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-22 04:56:15 +00:00
openwrt/target/linux/bcm27xx/patches-6.6/950-1258-drm-panel-waveshare-Remove-duplicated-sentinel-on-co.patch
Álvaro Fernández Rojas 538a1d740c bcm27xx: update to latest RPi patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.58..rpi-6.6.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-10-31 13:44:23 +01:00

38 lines
1.4 KiB
Diff

From 7a3d1c22ecbdac458883991beae0461137cbfc8a Mon Sep 17 00:00:00 2001
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
Date: Thu, 12 Sep 2024 18:04:58 +0100
Subject: [PATCH 1258/1350] drm: panel: waveshare: Remove duplicated sentinel
on compatible list
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 <dave.stevenson@raspberrypi.com>
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: f955b7838f9c ("drivers:gpu:drm:panel: Added waveshare 5.0inch, 6.25inch, and 8.8inch dsi screen devices")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
---
drivers/gpu/drm/panel/panel-waveshare-dsi.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/gpu/drm/panel/panel-waveshare-dsi.c
+++ b/drivers/gpu/drm/panel/panel-waveshare-dsi.c
@@ -467,7 +467,6 @@ static const struct of_device_id ws_pane
.compatible = "waveshare,8.8inch-panel",
.data = &ws_panel_8_8_mode,
}, {
- }, {
/* sentinel */
}
};