summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/device.h
diff options
context:
space:
mode:
authorNishanth Aravamudan2010-10-26 19:35:11 +0200
committerBenjamin Herrenschmidt2010-11-29 05:48:21 +0100
commitf6aedd8606ae673f8e1f4d972fc86c451fbc8ba7 (patch)
treec3f6316b887847c5e0a77d73a47237be4d15d562 /arch/powerpc/include/asm/device.h
parentpowerpc/pseries: iommu cleanup (diff)
downloadkernel-qcow2-linux-f6aedd8606ae673f8e1f4d972fc86c451fbc8ba7.tar.gz
kernel-qcow2-linux-f6aedd8606ae673f8e1f4d972fc86c451fbc8ba7.tar.xz
kernel-qcow2-linux-f6aedd8606ae673f8e1f4d972fc86c451fbc8ba7.zip
powerpc/macio: Ensure all dma routines get copied over
Also add a comment to dev_archdata, indicating that changes there need to be verified against the driver code. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/device.h')
-rw-r--r--arch/powerpc/include/asm/device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/device.h b/arch/powerpc/include/asm/device.h
index a3954e4fcbe2..16d25c0974be 100644
--- a/arch/powerpc/include/asm/device.h
+++ b/arch/powerpc/include/asm/device.h
@@ -9,6 +9,12 @@
struct dma_map_ops;
struct device_node;
+/*
+ * Arch extensions to struct device.
+ *
+ * When adding fields, consider macio_add_one_device in
+ * drivers/macintosh/macio_asic.c
+ */
struct dev_archdata {
/* DMA operations on that device */
struct dma_map_ops *dma_ops;