Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344/* SPDX-License-Identifier: GPL-2.0 */#ifdef CONFIG_RTC_INTF_DEV
extern void __init rtc_dev_init(void);extern void rtc_dev_prepare(struct rtc_device *rtc);
#else
static inline void rtc_dev_init(void){}
static inline void rtc_dev_prepare(struct rtc_device *rtc){}
#endif
#ifdef CONFIG_RTC_INTF_PROC
extern void rtc_proc_add_device(struct rtc_device *rtc);extern void rtc_proc_del_device(struct rtc_device *rtc);
#else
static inline void rtc_proc_add_device(struct rtc_device *rtc){}
static inline void rtc_proc_del_device(struct rtc_device *rtc){}
#endif
#ifdef CONFIG_RTC_INTF_SYSFSconst struct attribute_group **rtc_get_dev_attribute_groups(void);#elsestatic inline const struct attribute_group **rtc_get_dev_attribute_groups(void){ return NULL;}#endif