Skip to contentSkip to conversation

drm: drm_pci: Include "drm_internal.h"

PATCH New Fabio Estevam 1 participant 1 message Sep 18, 2014

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

PATCH 1/1 drm: drm_pci: Include "drm_internal.h"

From: Fabio Estevam <[email protected]>

Include "drm_internal.h" to fix the following sparse warnings:

drivers/gpu/drm/drm_pci.c:146:5: warning: symbol 'drm_pci_set_unique' was not declared. Should it be static? drivers/gpu/drm/drm_pci.c:216:5: warning: symbol 'drm_irq_by_busid' was not declared. Should it be static?

---
 drivers/gpu/drm/drm_pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_pci.c +1 -0
index fd29f03..8985f48 100644
@@ -28,6 +28,7 @@
 #include <linux/export.h>
 #include <drm/drmP.h>
 #include "drm_legacy.h"
+#include "drm_internal.h"
 
 /**
  * drm_pci_alloc - Allocate a PCI consistent memory block, for DMA.
Signature · 1 line
1.9.1