Skip to contentSkip to conversation

drm: Include the header with the prototype for drm_get_panel_orientation_quirk()

PATCH In review Ville Syrjala 2 participants 3 messages Feb 26, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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?

Cc Hans de Goede <[email protected]>
Cc Daniel Vetter <[email protected]>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +1 -0
index 1f2af707ce03..902cc1a71e45 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

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]>

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
index 1f2af707ce03..902cc1a71e45 100644

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

#2 lore raw
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]>

Good catch:

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
index 1f2af707ce03..902cc1a71e45 100644
@@ -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