diff options
Diffstat (limited to 'include/linux/amba/bus.h')
| -rw-r--r-- | include/linux/amba/bus.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h index 8d54f79457ba..d36417158d8f 100644 --- a/include/linux/amba/bus.h +++ b/include/linux/amba/bus.h | |||
| @@ -63,6 +63,14 @@ struct amba_device *amba_device_alloc(const char *, resource_size_t, size_t); | |||
| 63 | void amba_device_put(struct amba_device *); | 63 | void amba_device_put(struct amba_device *); |
| 64 | int amba_device_add(struct amba_device *, struct resource *); | 64 | int amba_device_add(struct amba_device *, struct resource *); |
| 65 | int amba_device_register(struct amba_device *, struct resource *); | 65 | int amba_device_register(struct amba_device *, struct resource *); |
| 66 | struct amba_device *amba_apb_device_add(struct device *parent, const char *name, | ||
| 67 | resource_size_t base, size_t size, | ||
| 68 | int irq1, int irq2, void *pdata, | ||
| 69 | unsigned int periphid); | ||
| 70 | struct amba_device *amba_ahb_device_add(struct device *parent, const char *name, | ||
| 71 | resource_size_t base, size_t size, | ||
| 72 | int irq1, int irq2, void *pdata, | ||
| 73 | unsigned int periphid); | ||
| 66 | void amba_device_unregister(struct amba_device *); | 74 | void amba_device_unregister(struct amba_device *); |
| 67 | struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int); | 75 | struct amba_device *amba_find_device(const char *, struct device *, unsigned int, unsigned int); |
| 68 | int amba_request_regions(struct amba_device *, const char *); | 76 | int amba_request_regions(struct amba_device *, const char *); |
