|
@@ -177,7 +177,7 @@ void clockevents_register_device(struct clock_event_device *dev)
|
|
/*
|
|
/*
|
|
* Noop handler when we shut down an event device
|
|
* Noop handler when we shut down an event device
|
|
*/
|
|
*/
|
|
-static void clockevents_handle_noop(struct clock_event_device *dev)
|
|
|
|
|
|
+void clockevents_handle_noop(struct clock_event_device *dev)
|
|
{
|
|
{
|
|
}
|
|
}
|
|
|
|
|
|
@@ -199,7 +199,6 @@ void clockevents_exchange_device(struct clock_event_device *old,
|
|
* released list and do a notify add later.
|
|
* released list and do a notify add later.
|
|
*/
|
|
*/
|
|
if (old) {
|
|
if (old) {
|
|
- old->event_handler = clockevents_handle_noop;
|
|
|
|
clockevents_set_mode(old, CLOCK_EVT_MODE_UNUSED);
|
|
clockevents_set_mode(old, CLOCK_EVT_MODE_UNUSED);
|
|
list_del(&old->list);
|
|
list_del(&old->list);
|
|
list_add(&old->list, &clockevents_released);
|
|
list_add(&old->list, &clockevents_released);
|