allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / arch / ppc / syslib / virtex_devices.h
blob3d4be1412f60cee2d32107f0b2200d9d55a22e71
1 /*
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.
9 */
11 #ifndef __ASM_VIRTEX_DEVICES_H__
12 #define __ASM_VIRTEX_DEVICES_H__
14 #include <linux/platform_device.h>
16 /* ML300/403 reference design framebuffer driver platform data struct */
17 struct xilinxfb_platform_data {
18 u32 rotate_screen;
19 u32 screen_height_mm;
20 u32 screen_width_mm;
23 void __init virtex_early_serial_map(void);
25 /* Prototype for device fixup routine. Implement this routine in the
26 * board specific fixup code and the generic setup code will call it for
27 * each device is the platform device list.
29 * If the hook returns a non-zero value, then the device will not get
30 * registered with the platform bus
32 int virtex_device_fixup(struct platform_device *dev);
34 #endif /* __ASM_VIRTEX_DEVICES_H__ */