fbf1eadf95
Change the Ux500 devices to be dynamically allocated and added by calling functions instead of referencing structures, thereby allowing 5500 and other derivatives' support to be added without having to duplicate structures, use fixup functions, or use compile-time macros. Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
23 lines
509 B
C
23 lines
509 B
C
/*
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
*
|
|
* License terms: GNU General Public License (GPL) version 2
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_DEVICES_H__
|
|
#define __ASM_ARCH_DEVICES_H__
|
|
|
|
struct platform_device;
|
|
struct amba_device;
|
|
|
|
extern struct platform_device u5500_gpio_devs[];
|
|
extern struct platform_device u8500_gpio_devs[];
|
|
|
|
extern struct amba_device ux500_pl031_device;
|
|
|
|
extern struct platform_device u8500_dma40_device;
|
|
extern struct platform_device ux500_ske_keypad_device;
|
|
|
|
void dma40_u8500ed_fixup(void);
|
|
|
|
#endif
|