Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105144517.1826692-12-lee.jones@linaro.org

authored by

Lee Jones and committed by
Sam Ravnborg
084ee219 d2a58fd1

+2
+2
drivers/gpu/drm/panel/panel-simple.c
··· 39 39 #include <drm/drm_panel.h> 40 40 41 41 /** 42 + * struct panel_desc 42 43 * @modes: Pointer to array of fixed modes appropriate for this panel. If 43 44 * only one mode then this can just be the address of this the mode. 44 45 * NOTE: cannot be used with "timings" and also if this is specified ··· 54 53 * @delay: Structure containing various delay values for this panel. 55 54 * @bus_format: See MEDIA_BUS_FMT_... defines. 56 55 * @bus_flags: See DRM_BUS_FLAG_... defines. 56 + * @connector_type: LVDS, eDP, DSI, DPI, etc. 57 57 */ 58 58 struct panel_desc { 59 59 const struct drm_display_mode *modes;