diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2015-02-27 14:25:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-01 22:29:05 -0500 |
commit | 32a158325acf12842764b1681f53903673f2f22e (patch) | |
tree | af99f3fbc7e2524331f62e8f726f0f44edec6b77 /kernel/time | |
parent | e72e7ac583ee8adddbc668cdefde7d7d3021be79 (diff) |
clockevents: export clockevents_unbind_device instead of clockevents_unbind
It looks like clockevents_unbind is being exported by mistake as:
- it is static;
- it is not listed in include/linux/clockchips.h;
- EXPORT_SYMBOL_GPL(clockevents_unbind) follows clockevents_unbind_device()
implementation.
I think clockevents_unbind_device should be exported instead. This is going to
be used to teardown Hyper-V clockevent devices on module unload.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/time')
-rw-r--r-- | kernel/time/clockevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 55449909f114..888ecc114ddc 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c | |||
@@ -371,7 +371,7 @@ int clockevents_unbind_device(struct clock_event_device *ced, int cpu) | |||
371 | mutex_unlock(&clockevents_mutex); | 371 | mutex_unlock(&clockevents_mutex); |
372 | return ret; | 372 | return ret; |
373 | } | 373 | } |
374 | EXPORT_SYMBOL_GPL(clockevents_unbind); | 374 | EXPORT_SYMBOL_GPL(clockevents_unbind_device); |
375 | 375 | ||
376 | /** | 376 | /** |
377 | * clockevents_register_device - register a clock event device | 377 | * clockevents_register_device - register a clock event device |