aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-04-05 18:12:18 +1000
committerDave Airlie <airlied@linux.ie>2006-04-05 18:12:18 +1000
commit195b3a2d57b81d30e3129575ef6c8a95b2c936b7 (patch)
treed8ed1d9289f7567e0ab27d43f38ea50e4ca4dd91 /drivers/char
parent86678dfddba55a7b9e2ea084d59be6500fec2256 (diff)
drm: drm_pci needs dma-mapping.h
On alpha: WARNING: "dma_free_coherent" [drivers/char/drm/drm.ko] undefined! WARNING: "dma_alloc_coherent" [drivers/char/drm/drm.ko] undefined! Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/drm/drm_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/drm_pci.c b/drivers/char/drm/drm_pci.c
index b28ca9cea8a..86a0f1c2209 100644
--- a/drivers/char/drm/drm_pci.c
+++ b/drivers/char/drm/drm_pci.c
@@ -37,6 +37,7 @@
*/
#include <linux/pci.h>
+#include <linux/dma-mapping.h>
#include "drmP.h"
/**********************************************************************/