Commit 72a74519 authored by Madhusudhan Chikkature's avatar Madhusudhan Chikkature Committed by Tony Lindgren

HDQ driver: Convert few declarations to static

Convert declaration to static.
Signed-off-by: default avatarMadhusudhan Chikkature <madhu.cr@ti.com>
Acked-by: default avatarEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Acked-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent d01b7791
...@@ -49,8 +49,8 @@ ...@@ -49,8 +49,8 @@
#define OMAP_HDQ_MAX_USER 4 #define OMAP_HDQ_MAX_USER 4
DECLARE_WAIT_QUEUE_HEAD(hdq_wait_queue); static DECLARE_WAIT_QUEUE_HEAD(hdq_wait_queue);
int W1_ID; static int w1_id;
struct hdq_data { struct hdq_data {
struct device *dev; struct device *dev;
...@@ -249,8 +249,8 @@ static void omap_w1_search_bus(void *_hdq, u8 search_type, ...@@ -249,8 +249,8 @@ static void omap_w1_search_bus(void *_hdq, u8 search_type,
{ {
u64 module_id, rn_le, cs, id; u64 module_id, rn_le, cs, id;
if (W1_ID) if (w1_id)
module_id = W1_ID; module_id = w1_id;
else else
module_id = 0x1; module_id = 0x1;
...@@ -715,7 +715,7 @@ omap_hdq_exit(void) ...@@ -715,7 +715,7 @@ omap_hdq_exit(void)
module_init(omap_hdq_init); module_init(omap_hdq_init);
module_exit(omap_hdq_exit); module_exit(omap_hdq_exit);
module_param(W1_ID, int, S_IRUSR); module_param(w1_id, int, S_IRUSR);
MODULE_AUTHOR("Texas Instruments"); MODULE_AUTHOR("Texas Instruments");
MODULE_DESCRIPTION("HDQ driver Library"); MODULE_DESCRIPTION("HDQ driver Library");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment