2 * Common support header for virtex ppc405 platforms
4 * Copyright 2007 Secret Lab Technologies Ltd.
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
11 #ifndef __ASM_VIRTEX_DEVICES_H__
12 #define __ASM_VIRTEX_DEVICES_H__
14 #include <linux/platform_device.h>
16 void __init virtex_early_serial_map(void);
18 /* Prototype for device fixup routine. Implement this routine in the
19 * board specific fixup code and the generic setup code will call it for
20 * each device is the platform device list.
22 * If the hook returns a non-zero value, then the device will not get
23 * registered with the platform bus
25 int virtex_device_fixup(struct platform_device *dev);
27 #endif /* __ASM_VIRTEX_DEVICES_H__ */