diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-04-15 22:38:32 +0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-01 23:44:30 +0300 |
commit | b501fd7b1c0f10d3967d3abbd6c9d091b3384999 (patch) | |
tree | 105508f3767a356ef517360fd0e58eb9d34a1e6f /arch/arm/mach-mmp/include/mach/devices.h | |
parent | 8bf42cc8888f1475728104d386fc9306b8ef7e3e (diff) | |
download | linux-b501fd7b1c0f10d3967d3abbd6c9d091b3384999.tar.xz |
ARM: mmp: make all header files local
The mach/*.h headers are now inaccessible to any external code,
so we can move them all into the mach-mmp directory itself
and remove the subdirectories.
A few headers are not used at all, so we remove them here.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/devices.h')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/devices.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/arch/arm/mach-mmp/include/mach/devices.h b/arch/arm/mach-mmp/include/mach/devices.h deleted file mode 100644 index 21217ef11b64..000000000000 --- a/arch/arm/mach-mmp/include/mach/devices.h +++ /dev/null @@ -1,56 +0,0 @@ -#ifndef __MACH_DEVICE_H -#define __MACH_DEVICE_H - -#include <linux/types.h> - -#define MAX_RESOURCE_DMA 2 - -/* structure for describing the on-chip devices */ -struct pxa_device_desc { - const char *dev_name; - const char *drv_name; - int id; - int irq; - unsigned long start; - unsigned long size; - int dma[MAX_RESOURCE_DMA]; -}; - -#define PXA168_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ -struct pxa_device_desc pxa168_device_##_name __initdata = { \ - .dev_name = "pxa168-" #_name, \ - .drv_name = _drv, \ - .id = _id, \ - .irq = IRQ_PXA168_##_irq, \ - .start = _start, \ - .size = _size, \ - .dma = { _dma }, \ -}; - -#define PXA910_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ -struct pxa_device_desc pxa910_device_##_name __initdata = { \ - .dev_name = "pxa910-" #_name, \ - .drv_name = _drv, \ - .id = _id, \ - .irq = IRQ_PXA910_##_irq, \ - .start = _start, \ - .size = _size, \ - .dma = { _dma }, \ -}; - -#define MMP2_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \ -struct pxa_device_desc mmp2_device_##_name __initdata = { \ - .dev_name = "mmp2-" #_name, \ - .drv_name = _drv, \ - .id = _id, \ - .irq = IRQ_MMP2_##_irq, \ - .start = _start, \ - .size = _size, \ - .dma = { _dma }, \ -} - -extern int pxa_register_device(struct pxa_device_desc *, void *, size_t); -extern int pxa_usb_phy_init(void __iomem *phy_reg); -extern void pxa_usb_phy_deinit(void __iomem *phy_reg); - -#endif /* __MACH_DEVICE_H */ |