Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / arm / mach-s3c / spi-core-s3c24xx.h
blob057667469cc3d1b5a278983a174a4f408b217c88
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2012 Heiko Stuebner <heiko@sntech.de>
4 */
6 #ifndef __PLAT_S3C_SPI_CORE_S3C24XX_H
7 #define __PLAT_S3C_SPI_CORE_S3C24XX_H
9 /* These functions are only for use with the core support code, such as
10 * the cpu specific initialisation code
13 /* re-define device name depending on support. */
14 static inline void s3c24xx_spi_setname(char *name)
16 #ifdef CONFIG_S3C64XX_DEV_SPI0
17 s3c64xx_device_spi0.name = name;
18 #endif
19 #ifdef CONFIG_S3C64XX_DEV_SPI1
20 s3c64xx_device_spi1.name = name;
21 #endif
22 #ifdef CONFIG_S3C64XX_DEV_SPI2
23 s3c64xx_device_spi2.name = name;
24 #endif
27 #endif /* __PLAT_S3C_SPI_CORE_S3C24XX_H */