android_kernel_motorola_sm6225/arch/ppc/syslib/virtex_devices.h
Grant Likely dc8afdc7ad [POWERPC] XilinxFB: Move xilinxfb_platform_data definition to a shared header file
XilnixFB can be used by more than just arch/ppc.  Move the data structure
definition into include/linux/xilinxfb.h so it can be used by microblaze
and arch/powerpc

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2007-10-03 07:23:16 -05:00

35 lines
977 B
C

/*
* Common support header for virtex ppc405 platforms
*
* Copyright 2007 Secret Lab Technologies Ltd.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/
#ifndef __ASM_VIRTEX_DEVICES_H__
#define __ASM_VIRTEX_DEVICES_H__
#include <linux/platform_device.h>
#include <linux/xilinxfb.h>
void __init virtex_early_serial_map(void);
/* Prototype for device fixup routine. Implement this routine in the
* board specific fixup code and the generic setup code will call it for
* each device is the platform device list.
*
* If the hook returns a non-zero value, then the device will not get
* registered with the platform bus
*/
int virtex_device_fixup(struct platform_device *dev);
/* SPI Controller IP */
struct xspi_platform_data {
s16 bus_num;
u16 num_chipselect;
u32 speed_hz;
};
#endif /* __ASM_VIRTEX_DEVICES_H__ */