blob: 462c31381fa13b2a586b0c396ef7e52429b36d9a [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _AMBA_CLCD_NOMADIK_H
3#define _AMBA_CLCD_NOMADIK_H
4
5#include <linux/amba/bus.h>
6
7#ifdef CONFIG_ARCH_NOMADIK
8int nomadik_clcd_init_board(struct amba_device *adev,
9 struct clcd_board *board);
10int nomadik_clcd_init_panel(struct clcd_fb *fb, struct device_node *panel);
11#else
12static inline int nomadik_clcd_init_board(struct amba_device *adev,
13 struct clcd_board *board)
14{
15 return 0;
16}
17static inline int nomadik_clcd_init_panel(struct clcd_fb *fb,
18 struct device_node *panel)
19{
20 return 0;
21}
22#endif
23
24#endif /* inclusion guard */