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