* [2.6 patch] drivers/video/console/: make 3 functions static
@ 2006-08-20 22:59 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-08-20 22:59 UTC (permalink / raw)
To: adaplas; +Cc: linux-fbdev-devel, linux-kernel
This patch makes three needlessly global functions static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/video/console/fbcon_ccw.c | 2 +-
drivers/video/console/fbcon_cw.c | 2 +-
drivers/video/console/fbcon_ud.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.18-rc4-mm2/drivers/video/console/fbcon_cw.c.old 2006-08-20 23:07:14.000000000 +0200
+++ linux-2.6.18-rc4-mm2/drivers/video/console/fbcon_cw.c 2006-08-20 23:07:31.000000000 +0200
@@ -375,7 +375,7 @@
ops->cursor_reset = 0;
}
-int cw_update_start(struct fb_info *info)
+static int cw_update_start(struct fb_info *info)
{
struct fbcon_ops *ops = info->fbcon_par;
u32 vxres = GETVXRES(ops->p->scrollmode, info);
--- linux-2.6.18-rc4-mm2/drivers/video/console/fbcon_ccw.c.old 2006-08-20 23:07:58.000000000 +0200
+++ linux-2.6.18-rc4-mm2/drivers/video/console/fbcon_ccw.c 2006-08-20 23:08:03.000000000 +0200
@@ -391,7 +391,7 @@
ops->cursor_reset = 0;
}
-int ccw_update_start(struct fb_info *info)
+static int ccw_update_start(struct fb_info *info)
{
struct fbcon_ops *ops = info->fbcon_par;
u32 yoffset;
--- linux-2.6.18-rc4-mm2/drivers/video/console/fbcon_ud.c.old 2006-08-20 23:08:31.000000000 +0200
+++ linux-2.6.18-rc4-mm2/drivers/video/console/fbcon_ud.c 2006-08-20 23:08:45.000000000 +0200
@@ -415,7 +415,7 @@
ops->cursor_reset = 0;
}
-int ud_update_start(struct fb_info *info)
+static int ud_update_start(struct fb_info *info)
{
struct fbcon_ops *ops = info->fbcon_par;
int xoffset, yoffset;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-08-20 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-20 22:59 [2.6 patch] drivers/video/console/: make 3 functions static Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).