x86/boot: Rename overlapping memcpy() to memmove()
[linux/fpc-iii.git] / arch / arm / mach-s3c24xx / spi-core.h
blob0b9428ab3fc3d0abb74412ee3df892778b2f1804
1 /*
2 * Copyright (C) 2012 Heiko Stuebner <heiko@sntech.de>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef __PLAT_S3C_SPI_CORE_H
10 #define __PLAT_S3C_SPI_CORE_H
12 /* These functions are only for use with the core support code, such as
13 * the cpu specific initialisation code
16 /* re-define device name depending on support. */
17 static inline void s3c64xx_spi_setname(char *name)
19 #ifdef CONFIG_S3C64XX_DEV_SPI0
20 s3c64xx_device_spi0.name = name;
21 #endif
22 #ifdef CONFIG_S3C64XX_DEV_SPI1
23 s3c64xx_device_spi1.name = name;
24 #endif
25 #ifdef CONFIG_S3C64XX_DEV_SPI2
26 s3c64xx_device_spi2.name = name;
27 #endif
30 #endif /* __PLAT_S3C_SPI_CORE_H */