1 #include <linux/types.h>
3 #define MAX_RESOURCE_DMA 2
5 /* structure for describing the on-chip devices */
6 struct pxa_device_desc
{
13 int dma
[MAX_RESOURCE_DMA
];
16 #define PXA168_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \
17 struct pxa_device_desc pxa168_device_##_name __initdata = { \
18 .dev_name = "pxa168-" #_name, \
21 .irq = IRQ_PXA168_##_irq, \
27 #define PXA910_DEVICE(_name, _drv, _id, _irq, _start, _size, _dma...) \
28 struct pxa_device_desc pxa910_device_##_name __initdata = { \
29 .dev_name = "pxa910-" #_name, \
32 .irq = IRQ_PXA910_##_irq, \
37 extern int pxa_register_device(struct pxa_device_desc
*, void *, size_t);