Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Copyright (c) 2011 Heiko Stuebner <heiko@sntech.de>
0004  *
0005  * Samsung RTC Controller core functions
0006  */
0007 
0008 #ifndef __RTC_CORE_S3C24XX_H
0009 #define __RTC_CORE_S3C24XX_H __FILE__
0010 
0011 /* These functions are only for use with the core support code, such as
0012  * the cpu specific initialisation code
0013  */
0014 
0015 extern struct platform_device s3c_device_rtc;
0016 
0017 /* re-define device name depending on support. */
0018 static inline void s3c_rtc_setname(char *name)
0019 {
0020     s3c_device_rtc.name = name;
0021 }
0022 
0023 #endif /* __RTC_CORE_S3C24XX_H */