drm: Include the header with the prototype for drm_get_panel_orientation_quirk()
Subsystems (2)
PATCH 1/1 drm: Include the header with the prototype for drm_get_panel_orientation_quirk()
From: Ville Syrjälä <[email protected]>
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?
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +1 -0
@@ -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
Signature · 6 lines
2.13.6 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
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 <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Good catch:
Regards,
Hans
Quoted 10 lines
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +0
-0
drivers/gpu/drm/drm_panel_orientation_quirks.c line 17
Quoted 7 lines
drivers/gpu/drm/drm_panel_orientation_quirks.c +1
-0@@ -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
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 8 lines · Hans de Goede
Hi,
Quoted 5 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
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?
Quoted 7 lines
Quoted 3 lines
Cc Hans de Goede <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Good catch:
Reviewed-by Hans de Goede <[email protected]>
Thanks. Pushed to drm-misc-next.
Quoted 22 lines
Regards,
Hans
Quoted 17 lines
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/drm_panel_orientation_quirks.c +1
-0@@ -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
Signature · 6 lines
Ville Syrjälä Intel OTC _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel