1 /*
2  * (C) Copyright 2017 Icenowy Zheng <icenowy@aosc.io>
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 #ifndef __SIMPLEFB_COMMON_H
8 #define __SIMPLEFB_COMMON_H
9 
10 /**
11  * sunxi_simplefb_fdt_match() - match a sunxi simplefb node
12  *
13  * Match a sunxi simplefb device node with a specified pipeline, and
14  * return its offset.
15  *
16  * @blob: device tree blob
17  * @pipeline: display pipeline
18  * @return device node offset in blob, or negative values if failed
19  */
20 int sunxi_simplefb_fdt_match(void *blob, const char *pipeline);
21 
22 #endif
23