Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm / mach-s3c64xx / onenand-core.h
blob0cf6b5e76b2474c97b7276419ee4ac0319fed413
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2010 Samsung Electronics
4 * Kyungmin Park <kyungmin.park@samsung.com>
5 * Marek Szyprowski <m.szyprowski@samsung.com>
7 * Samsung OneNAD Controller core functions
8 */
10 #ifndef __ASM_ARCH_ONENAND_CORE_H
11 #define __ASM_ARCH_ONENAND_CORE_H __FILE__
13 /* These functions are only for use with the core support code, such as
14 * the cpu specific initialisation code
17 /* re-define device name depending on support. */
18 static inline void s3c_onenand_setname(char *name)
20 #ifdef CONFIG_S3C_DEV_ONENAND
21 s3c_device_onenand.name = name;
22 #endif
25 static inline void s3c64xx_onenand1_setname(char *name)
27 #ifdef CONFIG_S3C64XX_DEV_ONENAND1
28 s3c64xx_device_onenand1.name = name;
29 #endif
32 #endif /* __ASM_ARCH_ONENAND_CORE_H */