1 /* 2 * Copyright (c) 2011 Heiko Stuebner <heiko@sntech.de> 3 * 4 * Samsung RTC Controller core functions 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 */ 10 11 #ifndef __RTC_CORE_H 12 #define __RTC_CORE_H __FILE__ 13 14 /* These functions are only for use with the core support code, such as 15 * the cpu specific initialisation code 16 */ 17 18 extern struct platform_device s3c_device_rtc; 19 20 /* re-define device name depending on support. */ s3c_rtc_setname(char * name)21static inline void s3c_rtc_setname(char *name) 22 { 23 s3c_device_rtc.name = name; 24 } 25 26 #endif /* __RTC_CORE_H */ 27