]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clockevents: export clockevents_unbind_device instead of clockevents_unbind
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 27 Feb 2015 19:25:56 +0000 (11:25 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 6 Oct 2016 06:22:02 +0000 (08:22 +0200)
commit0d6a2bb674f96c9463ce7daefb9b5837adfb7194
tree8ad302294782e0cb245574e9de3f5e27d73185cd
parentca7119939db8a242ce3848f44c6039e06a8563bb
clockevents: export clockevents_unbind_device instead of clockevents_unbind

commit 32a158325acf12842764b1681f53903673f2f22e upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
kernel/time/clockevents.c