Skip to content

Commit

Permalink
drivers/video/hecubafb.c: make 4 functions static
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
AdrianBunk authored and Linus Torvalds committed May 8, 2007
1 parent aad09e5 commit 9a268a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/video/hecubafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 9a268a6

Please sign in to comment.