Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
0004  *      http://www.samsung.com/
0005  *
0006  * S3C -  Nand Controller core functions
0007  */
0008 
0009 #ifndef __ASM_ARCH_NAND_CORE_S3C24XX_H
0010 #define __ASM_ARCH_NAND_CORE_S3C24XX_H __FILE__
0011 
0012 /* These functions are only for use with the core support code, such as
0013  * the cpu specific initialisation code
0014  */
0015 
0016 /* re-define device name depending on support. */
0017 static inline void s3c_nand_setname(char *name)
0018 {
0019 #ifdef CONFIG_S3C_DEV_NAND
0020     s3c_device_nand.name = name;
0021 #endif
0022 }
0023 
0024 #endif /* __ASM_ARCH_NAND_CORE_S3C24XX_H */