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 b28ca9cea8a2a73c4f2c463fb762dc5fd94bae34..86a0f1c2209111075eb096d971271e08082f9e76 100644 (file)
@@ -37,6 +37,7 @@
  */
 
 #include <linux/pci.h>
+#include <linux/dma-mapping.h>
 #include "drmP.h"
 
 /**********************************************************************/