Blame view
drivers/rtc/rtc-core.h
1.24 KB
5726fb201 rtc: remove /sys/... |
1 2 3 4 |
#ifdef CONFIG_RTC_INTF_DEV extern void __init rtc_dev_init(void); extern void __exit rtc_dev_exit(void); |
cb3a58d2a rtc: update to cl... |
5 |
extern void rtc_dev_prepare(struct rtc_device *rtc); |
5726fb201 rtc: remove /sys/... |
6 7 8 9 |
extern void rtc_dev_add_device(struct rtc_device *rtc); extern void rtc_dev_del_device(struct rtc_device *rtc); #else |
61a7c36ac RTC: replace some... |
10 11 12 13 14 15 16 |
static inline void rtc_dev_init(void) { } static inline void rtc_dev_exit(void) { } |
cb3a58d2a rtc: update to cl... |
17 18 19 |
static inline void rtc_dev_prepare(struct rtc_device *rtc) { } |
61a7c36ac RTC: replace some... |
20 21 22 23 24 25 26 |
static inline void rtc_dev_add_device(struct rtc_device *rtc) { } static inline void rtc_dev_del_device(struct rtc_device *rtc) { } |
5726fb201 rtc: remove /sys/... |
27 28 |
#endif |
446ecbd92 rtc: simplified r... |
29 |
|
7d9f99ecc rtc: simplified /... |
30 |
#ifdef CONFIG_RTC_INTF_PROC |
61a7c36ac RTC: replace some... |
31 32 |
extern void rtc_proc_add_device(struct rtc_device *rtc); extern void rtc_proc_del_device(struct rtc_device *rtc); |
7d9f99ecc rtc: simplified /... |
33 34 |
#else |
61a7c36ac RTC: replace some... |
35 36 37 38 39 40 41 |
static inline void rtc_proc_add_device(struct rtc_device *rtc) { } static inline void rtc_proc_del_device(struct rtc_device *rtc) { } |
7d9f99ecc rtc: simplified /... |
42 43 |
#endif |
446ecbd92 rtc: simplified r... |
44 45 46 47 48 49 50 |
#ifdef CONFIG_RTC_INTF_SYSFS extern void __init rtc_sysfs_init(struct class *); extern void rtc_sysfs_add_device(struct rtc_device *rtc); extern void rtc_sysfs_del_device(struct rtc_device *rtc); #else |
61a7c36ac RTC: replace some... |
51 52 53 54 55 56 57 58 59 60 61 |
static inline void rtc_sysfs_init(struct class *rtc) { } static inline void rtc_sysfs_add_device(struct rtc_device *rtc) { } static inline void rtc_sysfs_del_device(struct rtc_device *rtc) { } |
446ecbd92 rtc: simplified r... |
62 63 |
#endif |