summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ozwpan/ozproto.h
diff options
context:
space:
mode:
authorSurendra Patil <surendra.tux@gmail.com>2014-03-03 23:57:47 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-04 16:49:37 -0800
commit6b029336d93d8f9a94b0256b1f7d9c1768eedba7 (patch)
tree8786c0d2d50c5c789e78c5d3d0311bd42f4abf33 /drivers/staging/ozwpan/ozproto.h
parent5c2f26def8f3bb252c32df4cbe0979140d8face6 (diff)
downloadop-kernel-dev-6b029336d93d8f9a94b0256b1f7d9c1768eedba7.zip
op-kernel-dev-6b029336d93d8f9a94b0256b1f7d9c1768eedba7.tar.gz
drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function
* Replaced all the spin lock/unlock wrappers from oz_polling_lock_bh() and oz_polllin_unlock_bh() with spin_lock_bh(&g_polling_lock) and spin_unlock_bh(&g_polling_lock).Completely erased the wrappers defination and declaration. * declared g_polling_lock as global variable in header file and added comments to it. Module builded successfully with sparse without warnings. Signed-off-by: Surendra Patil <surendra.tux@gmail.com> Acked-by: Rupesh Gujare <rupesh.gujare@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozproto.h')
-rw-r--r--drivers/staging/ozwpan/ozproto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h
index 0c49c8a..cb38e02 100644
--- a/drivers/staging/ozwpan/ozproto.h
+++ b/drivers/staging/ozwpan/ozproto.h
@@ -59,8 +59,6 @@ void oz_binding_remove(const char *net_dev);
void oz_timer_add(struct oz_pd *pd, int type, unsigned long due_time);
void oz_timer_delete(struct oz_pd *pd, int type);
void oz_pd_request_heartbeat(struct oz_pd *pd);
-void oz_polling_lock_bh(void);
-void oz_polling_unlock_bh(void);
void oz_pd_heartbeat_handler(unsigned long data);
void oz_pd_timeout_handler(unsigned long data);
enum hrtimer_restart oz_pd_heartbeat_event(struct hrtimer *timer);
OpenPOWER on IntegriCloud