Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9a268a629be4c15ed85c88a61d712d92aa943847
Commit: 9a268a629be4c15ed85c88a61d712d92aa943847
Parent: aad09e51eeb6ec68029271642a7528ffc08fee81
Author: Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:37:45 2007 -0700
Committer: Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:27 2007 -0700
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 <[EMAIL PROTECTED]>
Cc: Jaya Kumar <[EMAIL PROTECTED]>
Cc: Antonino Daplas <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
drivers/video/hecubafb.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c
index 396dc27..ea5a6c9 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)
return 0;
}
-void hcb_wait_for_ack(struct hecubafb_par *par)
+static void hcb_wait_for_ack(struct hecubafb_par *par)
{
int timeout;
@@ -161,7 +161,7 @@ void hcb_wait_for_ack(struct hecubafb_par *par)
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;
@@ -177,7 +177,7 @@ void hcb_wait_for_ack_clear(struct hecubafb_par *par)
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 */
hcb_set_data(par, data);
@@ -195,7 +195,7 @@ void apollo_send_data(struct hecubafb_par *par, unsigned
char data)
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 */
par->ctl &= ~(HCB_NCD_BIT);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html