mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-29 07:34:06 +08:00
19d3310106
Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the vt8500 include directories Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Tony Prisk <linux@prisktech.co.nz> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
32 lines
877 B
C
32 lines
877 B
C
/*
|
|
* VT8500/WM8505 Frame Buffer platform data definitions
|
|
*
|
|
* Copyright (C) 2010 Ed Spiridonov <edo.rus@gmail.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef _VT8500FB_H
|
|
#define _VT8500FB_H
|
|
|
|
#include <linux/fb.h>
|
|
|
|
struct vt8500fb_platform_data {
|
|
struct fb_videomode mode;
|
|
u32 xres_virtual;
|
|
u32 yres_virtual;
|
|
u32 bpp;
|
|
unsigned long video_mem_phys;
|
|
void *video_mem_virt;
|
|
unsigned long video_mem_len;
|
|
};
|
|
|
|
#endif /* _VT8500FB_H */
|