Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (C) 2012 Heiko Stuebner <heiko@sntech.de>
0004  */
0005 
0006 #ifndef __PLAT_S3C_SPI_CORE_S3C24XX_H
0007 #define __PLAT_S3C_SPI_CORE_S3C24XX_H
0008 
0009 /* These functions are only for use with the core support code, such as
0010  * the cpu specific initialisation code
0011  */
0012 
0013 /* re-define device name depending on support. */
0014 static inline void s3c24xx_spi_setname(char *name)
0015 {
0016 #ifdef CONFIG_S3C64XX_DEV_SPI0
0017     s3c64xx_device_spi0.name = name;
0018 #endif
0019 }
0020 
0021 #endif /* __PLAT_S3C_SPI_CORE_S3C24XX_H */