aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-05-08 03:37:45 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:27 -0400
commit9a268a629be4c15ed85c88a61d712d92aa943847 (patch)
treefbf417ef6bbe4272ec3d62f1c741916144e4c53a /drivers
parentaad09e51eeb6ec68029271642a7528ffc08fee81 (diff)
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: Adrian Bunk <bunk@stusta.de> Cc: Jaya Kumar <jayakumar.lkml@gmail.com> Cc: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/hecubafb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c
index 396dc277ab51..ea5a6c9e2c4e 100644
--- a/drivers/video/hecubafb.c
+++ b/drivers/video/hecubafb.c
@@ -145,7 +145,7 @@ static int __devinit apollo_init_control(struct hecubafb_par *par)
145 return 0; 145 return 0;
146} 146}
147 147
148void hcb_wait_for_ack(struct hecubafb_par *par) 148static void hcb_wait_for_ack(struct hecubafb_par *par)
149{ 149{
150 150
151 int timeout; 151 int timeout;
@@ -161,7 +161,7 @@ void hcb_wait_for_ack(struct hecubafb_par *par)
161 printk(KERN_ERR "timed out waiting for ack\n"); 161 printk(KERN_ERR "timed out waiting for ack\n");
162} 162}
163 163
164void hcb_wait_for_ack_clear(struct hecubafb_par *par) 164static void hcb_wait_for_ack_clear(struct hecubafb_par *par)
165{ 165{
166 166
167 int timeout; 167 int timeout;
@@ -177,7 +177,7 @@ void hcb_wait_for_ack_clear(struct hecubafb_par *par)
177 printk(KERN_ERR "timed out waiting for clear\n"); 177 printk(KERN_ERR "timed out waiting for clear\n");
178} 178}
179 179
180void apollo_send_data(struct hecubafb_par *par, unsigned char data) 180static void apollo_send_data(struct hecubafb_par *par, unsigned char data)
181{ 181{
182 /* set data */ 182 /* set data */
183 hcb_set_data(par, data); 183 hcb_set_data(par, data);
@@ -195,7 +195,7 @@ void apollo_send_data(struct hecubafb_par *par, unsigned char data)
195 hcb_wait_for_ack_clear(par); 195 hcb_wait_for_ack_clear(par);
196} 196}
197 197
198void apollo_send_command(struct hecubafb_par *par, unsigned char data) 198static void apollo_send_command(struct hecubafb_par *par, unsigned char data)
199{ 199{
200 /* command so set CD to high */ 200 /* command so set CD to high */
201 par->ctl &= ~(HCB_NCD_BIT); 201 par->ctl &= ~(HCB_NCD_BIT);