bpf: split eBPF out of NET
[linux-2.6/btrfs-unstable.git] / include / linux / platform_data / video-clcd-versatile.h
blob09ccf182af4dc3b729d272c4ef1ce154c820c8fa
1 #ifndef PLAT_CLCD_H
2 #define PLAT_CLCD_H
4 #ifdef CONFIG_PLAT_VERSATILE_CLCD
5 struct clcd_panel *versatile_clcd_get_panel(const char *);
6 int versatile_clcd_setup_dma(struct clcd_fb *, unsigned long);
7 int versatile_clcd_mmap_dma(struct clcd_fb *, struct vm_area_struct *);
8 void versatile_clcd_remove_dma(struct clcd_fb *);
9 #else
10 static inline struct clcd_panel *versatile_clcd_get_panel(const char *s)
12 return NULL;
14 static inline int versatile_clcd_setup_dma(struct clcd_fb *fb, unsigned long framesize)
16 return -ENODEV;
18 static inline int versatile_clcd_mmap_dma(struct clcd_fb *fb, struct vm_area_struct *vm)
20 return -ENODEV;
22 static inline void versatile_clcd_remove_dma(struct clcd_fb *fb)
25 #endif
27 #endif