xtensa: fix high memory/reserved memory collision
[cris-mirror.git] / include / linux / platform_data / video-clcd-versatile.h
blob305ebaec3afd3aea8a8197ec00c09e9133bc6b13
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef PLAT_CLCD_H
3 #define PLAT_CLCD_H
5 #ifdef CONFIG_PLAT_VERSATILE_CLCD
6 struct clcd_panel *versatile_clcd_get_panel(const char *);
7 int versatile_clcd_setup_dma(struct clcd_fb *, unsigned long);
8 int versatile_clcd_mmap_dma(struct clcd_fb *, struct vm_area_struct *);
9 void versatile_clcd_remove_dma(struct clcd_fb *);
10 #else
11 static inline struct clcd_panel *versatile_clcd_get_panel(const char *s)
13 return NULL;
15 static inline int versatile_clcd_setup_dma(struct clcd_fb *fb, unsigned long framesize)
17 return -ENODEV;
19 static inline int versatile_clcd_mmap_dma(struct clcd_fb *fb, struct vm_area_struct *vm)
21 return -ENODEV;
23 static inline void versatile_clcd_remove_dma(struct clcd_fb *fb)
26 #endif
28 #endif