From: Fabio Estevam fabio.estevam@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@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.
dri-devel@lists.freedesktop.org