From e2a31275f890143ccea4b93bdb19ff1a6b365186 Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Mon, 1 Oct 2007 07:47:00 +1000 Subject: [PATCH] --- yaml --- r: 67462 b: refs/heads/master c: dc8afdc7ada82562231cbae867fe6dcdb7b677f5 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/ppc/syslib/virtex_devices.h | 8 +------- trunk/drivers/video/xilinxfb.c | 2 +- trunk/include/linux/xilinxfb.h | 23 +++++++++++++++++++++++ 4 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 trunk/include/linux/xilinxfb.h diff --git a/[refs] b/[refs] index 80f19ee17bea..ec2207fdb2e8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bedfc8a040378cb51f46155c980d295c2c397203 +refs/heads/master: dc8afdc7ada82562231cbae867fe6dcdb7b677f5 diff --git a/trunk/arch/ppc/syslib/virtex_devices.h b/trunk/arch/ppc/syslib/virtex_devices.h index 9f38d92ae536..6ebd9b4b8f1c 100644 --- a/trunk/arch/ppc/syslib/virtex_devices.h +++ b/trunk/arch/ppc/syslib/virtex_devices.h @@ -12,13 +12,7 @@ #define __ASM_VIRTEX_DEVICES_H__ #include - -/* ML300/403 reference design framebuffer driver platform data struct */ -struct xilinxfb_platform_data { - u32 rotate_screen; - u32 screen_height_mm; - u32 screen_width_mm; -}; +#include void __init virtex_early_serial_map(void); diff --git a/trunk/drivers/video/xilinxfb.c b/trunk/drivers/video/xilinxfb.c index 6ef9733a18d4..4bc67ab56afa 100644 --- a/trunk/drivers/video/xilinxfb.c +++ b/trunk/drivers/video/xilinxfb.c @@ -30,7 +30,7 @@ #include #include -#include +#include #define DRIVER_NAME "xilinxfb" #define DRIVER_DESCRIPTION "Xilinx TFT LCD frame buffer driver" diff --git a/trunk/include/linux/xilinxfb.h b/trunk/include/linux/xilinxfb.h new file mode 100644 index 000000000000..9ad984d22c38 --- /dev/null +++ b/trunk/include/linux/xilinxfb.h @@ -0,0 +1,23 @@ +/* + * Platform device data for Xilinx Framebuffer device + * + * 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 __XILINXFB_H__ +#define __XILINXFB_H__ + +#include + +/* ML300/403 reference design framebuffer driver platform data struct */ +struct xilinxfb_platform_data { + u32 rotate_screen; + u32 screen_height_mm; + u32 screen_width_mm; +}; + +#endif /* __XILINXFB_H__ */