summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2006-01-10 19:53:54 +1100
committerDave Airlie <airlied@linux.ie>2006-01-10 19:53:54 +1100
commit2185200cd2a910ca7f4e3fa0370c6ed8a2bdc49c (patch)
tree7b472a201769cfab966fb8e1b46eba5ae77f8dd3 /drivers
parent4e4c62bd45c40e8e04d09a5f383bffb149abaa63 (diff)
downloadlinux-stable-2185200cd2a910ca7f4e3fa0370c6ed8a2bdc49c.tar.gz
linux-stable-2185200cd2a910ca7f4e3fa0370c6ed8a2bdc49c.tar.bz2
linux-stable-2185200cd2a910ca7f4e3fa0370c6ed8a2bdc49c.zip
drm: fix warning on alpha
From: Andrew Morton <akpm@osdl.org> On alpha: drivers/char/drm/via_dmablit.h:44: error: field `direction' has incomplete type Cc: Dave Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/drm/via_dmablit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/drm/via_dmablit.h b/drivers/char/drm/via_dmablit.h
index 6486391746b1..f4036cd5d0e0 100644
--- a/drivers/char/drm/via_dmablit.h
+++ b/drivers/char/drm/via_dmablit.h
@@ -30,6 +30,8 @@
#ifndef _VIA_DMABLIT_H
#define _VIA_DMABLIT_H
+#include <linux/dma-mapping.h>
+
#define VIA_NUM_BLIT_ENGINES 2
#define VIA_NUM_BLIT_SLOTS 8