diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-11-11 06:18:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 22:52:01 (GMT) |
commit | c6dbaef22a2f78700e242915a13218dd780c89ff (patch) | |
tree | 57167ca04a79f0d0aecf82523c8d8f3918312d8d /include/asm-um/device.h | |
parent | d80f19fab89cba8a6d16193154c8ff3edab00942 (diff) | |
download | linux-fsl-qoriq-c6dbaef22a2f78700e242915a13218dd780c89ff.tar.xz |
Driver core: add dev_archdata to struct device
Add arch specific dev_archdata to struct device
Adds an arch specific struct dev_arch to struct device. This enables
architecture to add specific fields to every device in the system, like
DMA operation pointers, NUMA node ID, firmware specific data, etc...
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Andi Kleen <ak@suse.de>
Acked-By: David Howells <dhowells@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-um/device.h')
-rw-r--r-- | include/asm-um/device.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-um/device.h b/include/asm-um/device.h new file mode 100644 index 0000000..d8f9872 --- /dev/null +++ b/include/asm-um/device.h @@ -0,0 +1,7 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#include <asm-generic/device.h> + |