spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / arm / plat-samsung / include / plat / fimc-core.h
blob945a99d59563999829bf6942928c1748c00d78fa
1 /*
2 * arch/arm/plat-samsung/include/plat/fimc-core.h
4 * Copyright 2010 Samsung Electronics Co., Ltd.
5 * Sylwester Nawrocki <s.nawrocki@samsung.com>
7 * Samsung camera interface driver core functions
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
14 #ifndef __ASM_PLAT_FIMC_CORE_H
15 #define __ASM_PLAT_FIMC_CORE_H __FILE__
18 * These functions are only for use with the core support code, such as
19 * the CPU-specific initialization code.
22 /* Re-define device name to differentiate the subsystem in various SoCs. */
23 static inline void s3c_fimc_setname(int id, char *name)
25 switch (id) {
26 #ifdef CONFIG_S5P_DEV_FIMC0
27 case 0:
28 s5p_device_fimc0.name = name;
29 break;
30 #endif
31 #ifdef CONFIG_S5P_DEV_FIMC1
32 case 1:
33 s5p_device_fimc1.name = name;
34 break;
35 #endif
36 #ifdef CONFIG_S5P_DEV_FIMC2
37 case 2:
38 s5p_device_fimc2.name = name;
39 break;
40 #endif
41 #ifdef CONFIG_S5P_DEV_FIMC3
42 case 3:
43 s5p_device_fimc3.name = name;
44 break;
45 #endif
49 #endif /* __ASM_PLAT_FIMC_CORE_H */