diff options
Diffstat (limited to 'kernel/time/alarmtimer.c')
| -rw-r--r-- | kernel/time/alarmtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c index 8a538c55fc7b..aa27d391bfc8 100644 --- a/kernel/time/alarmtimer.c +++ b/kernel/time/alarmtimer.c | |||
| @@ -59,7 +59,7 @@ static DEFINE_SPINLOCK(rtcdev_lock); | |||
| 59 | * If one has not already been chosen, it checks to see if a | 59 | * If one has not already been chosen, it checks to see if a |
| 60 | * functional rtc device is available. | 60 | * functional rtc device is available. |
| 61 | */ | 61 | */ |
| 62 | static struct rtc_device *alarmtimer_get_rtcdev(void) | 62 | struct rtc_device *alarmtimer_get_rtcdev(void) |
| 63 | { | 63 | { |
| 64 | unsigned long flags; | 64 | unsigned long flags; |
| 65 | struct rtc_device *ret; | 65 | struct rtc_device *ret; |
| @@ -115,7 +115,7 @@ static void alarmtimer_rtc_interface_remove(void) | |||
| 115 | class_interface_unregister(&alarmtimer_rtc_interface); | 115 | class_interface_unregister(&alarmtimer_rtc_interface); |
| 116 | } | 116 | } |
| 117 | #else | 117 | #else |
| 118 | static inline struct rtc_device *alarmtimer_get_rtcdev(void) | 118 | struct rtc_device *alarmtimer_get_rtcdev(void) |
| 119 | { | 119 | { |
| 120 | return NULL; | 120 | return NULL; |
| 121 | } | 121 | } |
