[PATCH] drm: drm_pci: Include "drm_internal.h"

Fabio Estevam festevam at gmail.com
Wed Sep 17 21:19:02 PDT 2014


From: Fabio Estevam <fabio.estevam at freescale.com>

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?

Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
 drivers/gpu/drm/drm_pci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/drm_pci.c b/drivers/gpu/drm/drm_pci.c
index fd29f03..8985f48 100644
--- a/drivers/gpu/drm/drm_pci.c
+++ b/drivers/gpu/drm/drm_pci.c
@@ -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.
-- 
1.9.1



More information about the dri-devel mailing list