Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
0004  *      http://www.samsung.com/
0005  *
0006  * Samsung ADC Controller core functions
0007  */
0008 
0009 #ifndef __ASM_PLAT_ADC_CORE_H
0010 #define __ASM_PLAT_ADC_CORE_H __FILE__
0011 
0012 /* These functions are only for use with the core support code, such as
0013  * the cpu specific initialisation code
0014  */
0015 
0016 /* re-define device name depending on support. */
0017 static inline void s3c_adc_setname(char *name)
0018 {
0019 #if defined(CONFIG_SAMSUNG_DEV_ADC) || defined(CONFIG_PLAT_S3C24XX)
0020     s3c_device_adc.name = name;
0021 #endif
0022 }
0023 
0024 #endif /* __ASM_PLAT_ADC_CORE_H */