]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/omapfb.h
8021q: fix a potential memory leak
[mirror_ubuntu-bionic-kernel.git] / include / linux / omapfb.h
CommitLineData
91773a00
TV
1/*
2 * File: include/linux/omapfb.h
3 *
4 * Framebuffer driver for TI OMAP boards
5 *
6 * Copyright (C) 2004 Nokia Corporation
7 * Author: Imre Deak <imre.deak@nokia.com>
8 *
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with this program; if not, write to the Free Software Foundation, Inc.,
21 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 */
91773a00
TV
23#ifndef __LINUX_OMAPFB_H__
24#define __LINUX_OMAPFB_H__
25
607ca46e 26#include <uapi/linux/omapfb.h>
91773a00 27
91773a00 28
ad6c9101
IG
29struct omap_lcd_config {
30 char panel_name[16];
31 char ctrl_name[16];
32 s16 nreset_gpio;
33 u8 data_lines;
34};
91773a00 35
91773a00
TV
36struct omapfb_platform_data {
37 struct omap_lcd_config lcd;
91773a00
TV
38};
39
ddba6c7f
TV
40void __init omapfb_set_lcd_config(const struct omap_lcd_config *config);
41
91773a00 42#endif /* __OMAPFB_H */