video: fix up versatile CLCD helper move
[deliverable/linux.git] / include / linux / platform_data / video-clcd-versatile.h
CommitLineData
420c34e4
RK
1#ifndef PLAT_CLCD_H
2#define PLAT_CLCD_H
3
ec4c4d87 4#ifdef CONFIG_PLAT_VERSATILE_CLCD
420c34e4
RK
5struct clcd_panel *versatile_clcd_get_panel(const char *);
6int versatile_clcd_setup_dma(struct clcd_fb *, unsigned long);
7int versatile_clcd_mmap_dma(struct clcd_fb *, struct vm_area_struct *);
8void versatile_clcd_remove_dma(struct clcd_fb *);
ec4c4d87
AB
9#else
10static inline struct clcd_panel *versatile_clcd_get_panel(const char *s)
11{
12 return NULL;
13}
14static inline int versatile_clcd_setup_dma(struct clcd_fb *fb, unsigned long framesize)
15{
16 return -ENODEV;
17}
18static inline int versatile_clcd_mmap_dma(struct clcd_fb *fb, struct vm_area_struct *vm)
19{
20 return -ENODEV;
21}
22static inline void versatile_clcd_remove_dma(struct clcd_fb *fb)
23{
24}
25#endif
420c34e4
RK
26
27#endif
This page took 0.219302 seconds and 5 git commands to generate.