Commit dc8afdc7 authored by Grant Likely's avatar Grant Likely Committed by Josh Boyer

[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: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
parent bedfc8a0
...@@ -12,13 +12,7 @@ ...@@ -12,13 +12,7 @@
#define __ASM_VIRTEX_DEVICES_H__ #define __ASM_VIRTEX_DEVICES_H__
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/xilinxfb.h>
/* ML300/403 reference design framebuffer driver platform data struct */
struct xilinxfb_platform_data {
u32 rotate_screen;
u32 screen_height_mm;
u32 screen_width_mm;
};
void __init virtex_early_serial_map(void); void __init virtex_early_serial_map(void);
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <asm/io.h> #include <asm/io.h>
#include <syslib/virtex_devices.h> #include <linux/xilinxfb.h>
#define DRIVER_NAME "xilinxfb" #define DRIVER_NAME "xilinxfb"
#define DRIVER_DESCRIPTION "Xilinx TFT LCD frame buffer driver" #define DRIVER_DESCRIPTION "Xilinx TFT LCD frame buffer driver"
......
/*
* 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 <linux/types.h>
/* 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__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment