drm: drm_pci: Include "drm_internal.h"
Subsystems (2)
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?
Signed-off-by Fabio Estevam <[email protected]>
--- drivers/gpu/drm/drm_pci.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_pci.c +1 -0
@@ -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