]> Git Repo - linux.git/blob - arch/arm/mach-s3c/iic-core.h
Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux...
[linux.git] / arch / arm / mach-s3c / iic-core.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright 2008 Openmoko, Inc.
4  * Copyright 2008 Simtec Electronics
5  *      Ben Dooks <[email protected]>
6  *
7  * S3C - I2C Controller core functions
8  */
9
10 #ifndef __ASM_ARCH_IIC_CORE_H
11 #define __ASM_ARCH_IIC_CORE_H __FILE__
12
13 /* These functions are only for use with the core support code, such as
14  * the cpu specific initialisation code
15  */
16
17 /* re-define device name depending on support. */
18 static inline void s3c_i2c0_setname(char *name)
19 {
20         /* currently this device is always compiled in */
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 #endif /* __ASM_ARCH_IIC_H */
This page took 0.044416 seconds and 4 git commands to generate.