提交 9a268a62 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

drivers/video/hecubafb.c: make 4 functions static

This patch makes the following needlessly global functions static:
- hcb_wait_for_ack()
- hcb_wait_for_ack_clear()
- apollo_send_data()
- apollo_send_command()
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Cc: Jaya Kumar <jayakumar.lkml@gmail.com>
Cc: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 aad09e51
...@@ -145,7 +145,7 @@ static int __devinit apollo_init_control(struct hecubafb_par *par) ...@@ -145,7 +145,7 @@ static int __devinit apollo_init_control(struct hecubafb_par *par)
return 0; return 0;
} }
void hcb_wait_for_ack(struct hecubafb_par *par) static void hcb_wait_for_ack(struct hecubafb_par *par)
{ {
int timeout; int timeout;
...@@ -161,7 +161,7 @@ void hcb_wait_for_ack(struct hecubafb_par *par) ...@@ -161,7 +161,7 @@ void hcb_wait_for_ack(struct hecubafb_par *par)
printk(KERN_ERR "timed out waiting for ack\n"); printk(KERN_ERR "timed out waiting for ack\n");
} }
void hcb_wait_for_ack_clear(struct hecubafb_par *par) static void hcb_wait_for_ack_clear(struct hecubafb_par *par)
{ {
int timeout; int timeout;
...@@ -177,7 +177,7 @@ void hcb_wait_for_ack_clear(struct hecubafb_par *par) ...@@ -177,7 +177,7 @@ void hcb_wait_for_ack_clear(struct hecubafb_par *par)
printk(KERN_ERR "timed out waiting for clear\n"); printk(KERN_ERR "timed out waiting for clear\n");
} }
void apollo_send_data(struct hecubafb_par *par, unsigned char data) static void apollo_send_data(struct hecubafb_par *par, unsigned char data)
{ {
/* set data */ /* set data */
hcb_set_data(par, data); hcb_set_data(par, data);
...@@ -195,7 +195,7 @@ void apollo_send_data(struct hecubafb_par *par, unsigned char data) ...@@ -195,7 +195,7 @@ void apollo_send_data(struct hecubafb_par *par, unsigned char data)
hcb_wait_for_ack_clear(par); hcb_wait_for_ack_clear(par);
} }
void apollo_send_command(struct hecubafb_par *par, unsigned char data) static void apollo_send_command(struct hecubafb_par *par, unsigned char data)
{ {
/* command so set CD to high */ /* command so set CD to high */
par->ctl &= ~(HCB_NCD_BIT); par->ctl &= ~(HCB_NCD_BIT);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册