aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-04-05 04:12:18 -0400
committerDave Airlie <airlied@linux.ie>2006-04-05 04:12:18 -0400
commit195b3a2d57b81d30e3129575ef6c8a95b2c936b7 (patch)
treed8ed1d9289f7567e0ab27d43f38ea50e4ca4dd91
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>
-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 b28ca9cea8a2..86a0f1c22091 100644
--- a/drivers/char/drm/drm_pci.c
+++ b/drivers/char/drm/drm_pci.c
@@ -37,6 +37,7 @@
37 */ 37 */
38 38
39#include <linux/pci.h> 39#include <linux/pci.h>
40#include <linux/dma-mapping.h>
40#include "drmP.h" 41#include "drmP.h"
41 42
42/**********************************************************************/ 43/**********************************************************************/