From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/arm/include/asm/device.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ANDROID_3.4.5/arch/arm/include/asm/device.h (limited to 'ANDROID_3.4.5/arch/arm/include/asm/device.h') diff --git a/ANDROID_3.4.5/arch/arm/include/asm/device.h b/ANDROID_3.4.5/arch/arm/include/asm/device.h new file mode 100644 index 00000000..7aa36800 --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/include/asm/device.h @@ -0,0 +1,26 @@ +/* + * Arch specific extensions to struct device + * + * This file is released under the GPLv2 + */ +#ifndef ASMARM_DEVICE_H +#define ASMARM_DEVICE_H + +struct dev_archdata { +#ifdef CONFIG_DMABOUNCE + struct dmabounce_device_info *dmabounce; +#endif +#ifdef CONFIG_IOMMU_API + void *iommu; /* private IOMMU data */ +#endif +}; + +struct omap_device; + +struct pdev_archdata { +#ifdef CONFIG_ARCH_OMAP + struct omap_device *od; +#endif +}; + +#endif -- cgit