[PATCH] drm: Include the header with the prototype for drm_get_panel_orientation_quirk()

Hans de Goede hdegoede at redhat.com
Mon Feb 26 14:35:34 UTC 2018


Hi,

On 26-02-18 15:24, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> sparse complains:
> drivers/gpu/drm/drm_panel_orientation_quirks.c:133:5: warning: symbol 'drm_get_panel_orientation_quirk' was not declared. Should it be static?
> 
> Cc: Hans de Goede <hdegoede at redhat.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Good catch:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans

> ---
>   drivers/gpu/drm/drm_panel_orientation_quirks.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> index 1f2af707ce03..902cc1a71e45 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -11,6 +11,7 @@
>   #include <linux/dmi.h>
>   #include <linux/module.h>
>   #include <drm/drm_connector.h>
> +#include <drm/drm_utils.h>
>   
>   #ifdef CONFIG_DMI
>   
> 


More information about the dri-devel mailing list