cregit-Linux how code gets into the kernel

Release 4.14 drivers/rtc/rtc-core.h

Directory: drivers/rtc
/* SPDX-License-Identifier: GPL-2.0 */
#ifdef CONFIG_RTC_INTF_DEV

extern void __init rtc_dev_init(void);
extern void __exit rtc_dev_exit(void);
extern void rtc_dev_prepare(struct rtc_device *rtc);

#else


static inline void rtc_dev_init(void) { }

Contributors

PersonTokensPropCommitsCommitProp
David Brownell8100.00%2100.00%
Total8100.00%2100.00%


static inline void rtc_dev_exit(void) { }

Contributors

PersonTokensPropCommitsCommitProp
David Brownell8100.00%2100.00%
Total8100.00%2100.00%


static inline void rtc_dev_prepare(struct rtc_device *rtc) { }

Contributors

PersonTokensPropCommitsCommitProp
David Brownell11100.00%1100.00%
Total11100.00%1100.00%

#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) { }

Contributors

PersonTokensPropCommitsCommitProp
David Brownell11100.00%2100.00%
Total11100.00%2100.00%


static inline void rtc_proc_del_device(struct rtc_device *rtc) { }

Contributors

PersonTokensPropCommitsCommitProp
David Brownell11100.00%2100.00%
Total11100.00%2100.00%

#endif #ifdef CONFIG_RTC_INTF_SYSFS const struct attribute_group **rtc_get_dev_attribute_groups(void); #else
static inline const struct attribute_group **rtc_get_dev_attribute_groups(void) { return NULL; }

Contributors

PersonTokensPropCommitsCommitProp
Dmitry Torokhov956.25%133.33%
David Brownell743.75%266.67%
Total16100.00%3100.00%

#endif #ifdef CONFIG_RTC_NVMEM void rtc_nvmem_register(struct rtc_device *rtc); void rtc_nvmem_unregister(struct rtc_device *rtc); #else
static inline void rtc_nvmem_register(struct rtc_device *rtc) {}

Contributors

PersonTokensPropCommitsCommitProp
Alexandre Belloni11100.00%1100.00%
Total11100.00%1100.00%


static inline void rtc_nvmem_unregister(struct rtc_device *rtc) {}

Contributors

PersonTokensPropCommitsCommitProp
Alexandre Belloni11100.00%1100.00%
Total11100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
David Brownell12967.89%562.50%
Alexandre Belloni4724.74%112.50%
Dmitry Torokhov136.84%112.50%
Greg Kroah-Hartman10.53%112.50%
Total190100.00%8100.00%
Directory: drivers/rtc
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.