forked from Minki/linux
a9b71a8f0f
au1200fb calls 3 functions which have to be defined in board code. Fix this ugliness with the introduction of platform_data. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> Cc: linux-fbdev@vger.kernel.org To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2871/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
15 lines
220 B
C
15 lines
220 B
C
/*
|
|
* platform data for au1200fb driver.
|
|
*/
|
|
|
|
#ifndef _AU1200FB_PLAT_H_
|
|
#define _AU1200FB_PLAT_H_
|
|
|
|
struct au1200fb_platdata {
|
|
int (*panel_index)(void);
|
|
int (*panel_init)(void);
|
|
int (*panel_shutdown)(void);
|
|
};
|
|
|
|
#endif
|