summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-03-06 08:48:32 -0800
committerJaroslav Kysela <perex@suse.cz>2004-03-06 08:48:32 -0800
commit300c99e292c374b17eb126eb23255f1f1b942255 (patch)
tree0dc9f34fe5ef4b7ea80f4e9c499f968ed9f4505a /include
parent5af2c1312ca8b25800632cfff48896e405244066 (diff)
[PATCH] ppc64: iSeries_vio_dev cleanup
From: Stephen Rothwell <sfr@canb.auug.org.au> This patch declares iSeries_vio_dev in an include file and includes it where necessary. It also fixes arch/ppc64/kernel/mf.c to use the generic dma API with iSeries_vio_dev.
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/iSeries/vio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-ppc64/iSeries/vio.h b/include/asm-ppc64/iSeries/vio.h
index f0bb2e912842..abb158e37239 100644
--- a/include/asm-ppc64/iSeries/vio.h
+++ b/include/asm-ppc64/iSeries/vio.h
@@ -127,4 +127,8 @@ enum viorc {
viorc_openRejected = 0x0301
};
+struct device;
+
+extern struct device *iSeries_vio_dev;
+
#endif /* _ISERIES_VIO_H */