[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070305014945.GB3441@stusta.de>
Date: Mon, 5 Mar 2007 02:49:45 +0100
From: Adrian Bunk <bunk@...sta.de>
To: Andrew Morton <akpm@...ux-foundation.org>,
Jaya Kumar <jayakumar.lkml@...il.com>,
Antonino Daplas <adaplas@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: [-mm patch] drivers/video/hecubafb.c: make 4 functions static
On Fri, Mar 02, 2007 at 03:00:26AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.20-mm2:
>...
> +fbdev-hecuba-framebuffer-driver.patch
>...
> fbdev updates
>...
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@...sta.de>
---
drivers/video/hecubafb.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- linux-2.6.21-rc2-mm1/drivers/video/hecubafb.c.old 2007-03-04 21:57:45.000000000 +0100
+++ linux-2.6.21-rc2-mm1/drivers/video/hecubafb.c 2007-03-04 21:58:30.000000000 +0100
@@ -145,7 +145,7 @@
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 @@
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 @@
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 @@
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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists