mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
drm/panel: panel-simple: Fix 'struct panel_desc's header
Struct headers should start with 'struct <name>' Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/panel/panel-simple.c:42: warning: Cannot understand * @modes: Pointer to array of fixed modes appropriate for this panel. If Cc: Thierry Reding <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Acked-by: Thierry Reding <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
#include <drm/drm_panel.h>
|
||||
|
||||
/**
|
||||
* struct panel_desc
|
||||
* @modes: Pointer to array of fixed modes appropriate for this panel. If
|
||||
* only one mode then this can just be the address of this the mode.
|
||||
* NOTE: cannot be used with "timings" and also if this is specified
|
||||
@@ -53,6 +54,7 @@
|
||||
* @delay: Structure containing various delay values for this panel.
|
||||
* @bus_format: See MEDIA_BUS_FMT_... defines.
|
||||
* @bus_flags: See DRM_BUS_FLAG_... defines.
|
||||
* @connector_type: LVDS, eDP, DSI, DPI, etc.
|
||||
*/
|
||||
struct panel_desc {
|
||||
const struct drm_display_mode *modes;
|
||||
|
||||
Reference in New Issue
Block a user