This source file includes following definitions.
- s3c_i2c0_setname
- s3c_i2c1_setname
- s3c_i2c2_setname
1
2
3
4
5
6
7
8
9
10 #ifndef __ASM_ARCH_IIC_CORE_H
11 #define __ASM_ARCH_IIC_CORE_H __FILE__
12
13
14
15
16
17
18 static inline void s3c_i2c0_setname(char *name)
19 {
20
21 s3c_device_i2c0.name = name;
22 }
23
24 static inline void s3c_i2c1_setname(char *name)
25 {
26 #ifdef CONFIG_S3C_DEV_I2C1
27 s3c_device_i2c1.name = name;
28 #endif
29 }
30
31 static inline void s3c_i2c2_setname(char *name)
32 {
33 #ifdef CONFIG_S3C_DEV_I2C2
34 s3c_device_i2c2.name = name;
35 #endif
36 }
37
38 #endif