Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67462
b: refs/heads/master
c: dc8afdc
h: refs/heads/master
v: v3
  • Loading branch information
Grant Likely authored and Josh Boyer committed Oct 3, 2007
1 parent dd1540e commit e2a3127
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bedfc8a040378cb51f46155c980d295c2c397203
refs/heads/master: dc8afdc7ada82562231cbae867fe6dcdb7b677f5
8 changes: 1 addition & 7 deletions trunk/arch/ppc/syslib/virtex_devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@
#define __ASM_VIRTEX_DEVICES_H__

#include <linux/platform_device.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;
};
#include <linux/xilinxfb.h>

void __init virtex_early_serial_map(void);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/xilinxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <linux/platform_device.h>

#include <asm/io.h>
#include <syslib/virtex_devices.h>
#include <linux/xilinxfb.h>

#define DRIVER_NAME "xilinxfb"
#define DRIVER_DESCRIPTION "Xilinx TFT LCD frame buffer driver"
Expand Down
23 changes: 23 additions & 0 deletions trunk/include/linux/xilinxfb.h
Original file line number Diff line number Diff line change
@@ -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 <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__ */

0 comments on commit e2a3127

Please sign in to comment.