drm: drm_pci needs dma-mapping.h
authorDave Airlie <airlied@linux.ie>
Wed, 5 Apr 2006 08:12:18 +0000 (18:12 +1000)
committerDave Airlie <airlied@linux.ie>
Wed, 5 Apr 2006 08:12:18 +0000 (18:12 +1000)
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>
drivers/char/drm/drm_pci.c

index b28ca9c..86a0f1c 100644 (file)
@@ -37,6 +37,7 @@
  */
 
 #include <linux/pci.h>
+#include <linux/dma-mapping.h>
 #include "drmP.h"
 
 /**********************************************************************/