1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright 2010 Samsung Electronics Co., Ltd.
4 * Pawel Osciak <p.osciak@samsung.com>
5 *
6 * Samsung framebuffer driver core functions
7 */
8 #ifndef __ASM_PLAT_FB_CORE_H
9 #define __ASM_PLAT_FB_CORE_H __FILE__
10
11 /*
12 * These functions are only for use with the core support code, such as
13 * the CPU-specific initialization code.
14 */
15
16 /* Re-define device name depending on support. */
17 static inline void s3c_fb_setname(char *name)
18 {
19 #ifdef CONFIG_S3C_DEV_FB
20 s3c_device_fb.name = name;
21 #endif
22 }
23
24 #endif /* __ASM_PLAT_FB_CORE_H */