diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-28 23:11:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 17:53:35 -0500 |
commit | 9540f75b2bcfcc29ddcd839c3547a5f380bef323 (patch) | |
tree | b64ba4b714ac8d42ef2c9328d824257f523e6e00 /drivers | |
parent | 9b83a6a8523a8a96b6353174b193c5c93e16c6c3 (diff) |
[PATCH] drivers/video/sm501fb.c: make 4 functions static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Ben Dooks <ben-linux@fluff.org>
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/sm501fb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/sm501fb.c b/drivers/video/sm501fb.c index 02b290ca01e1..58c0ac733db9 100644 --- a/drivers/video/sm501fb.c +++ b/drivers/video/sm501fb.c | |||
@@ -136,8 +136,8 @@ static inline void sm501fb_sync_regs(struct sm501fb_info *info) | |||
136 | #define SM501_MEMF_CRT (4) | 136 | #define SM501_MEMF_CRT (4) |
137 | #define SM501_MEMF_ACCEL (8) | 137 | #define SM501_MEMF_ACCEL (8) |
138 | 138 | ||
139 | int sm501_alloc_mem(struct sm501fb_info *inf, struct sm501_mem *mem, | 139 | static int sm501_alloc_mem(struct sm501fb_info *inf, struct sm501_mem *mem, |
140 | unsigned int why, size_t size) | 140 | unsigned int why, size_t size) |
141 | { | 141 | { |
142 | unsigned int ptr = 0; | 142 | unsigned int ptr = 0; |
143 | 143 | ||
@@ -926,7 +926,7 @@ static int sm501fb_blank_crt(int blank_mode, struct fb_info *info) | |||
926 | * set or change the hardware cursor parameters | 926 | * set or change the hardware cursor parameters |
927 | */ | 927 | */ |
928 | 928 | ||
929 | int sm501fb_cursor(struct fb_info *info, struct fb_cursor *cursor) | 929 | static int sm501fb_cursor(struct fb_info *info, struct fb_cursor *cursor) |
930 | { | 930 | { |
931 | struct sm501fb_par *par = info->par; | 931 | struct sm501fb_par *par = info->par; |
932 | struct sm501fb_info *fbi = par->info; | 932 | struct sm501fb_info *fbi = par->info; |
@@ -1225,7 +1225,7 @@ static struct sm501fb_info *sm501fb_info_alloc(struct fb_info *fbinfo_crt, | |||
1225 | * initialise hw cursor parameters | 1225 | * initialise hw cursor parameters |
1226 | */ | 1226 | */ |
1227 | 1227 | ||
1228 | int sm501_init_cursor(struct fb_info *fbi, unsigned int reg_base) | 1228 | static int sm501_init_cursor(struct fb_info *fbi, unsigned int reg_base) |
1229 | { | 1229 | { |
1230 | struct sm501fb_par *par = fbi->par; | 1230 | struct sm501fb_par *par = fbi->par; |
1231 | struct sm501fb_info *info = par->info; | 1231 | struct sm501fb_info *info = par->info; |
@@ -1768,7 +1768,7 @@ static struct platform_driver sm501fb_driver = { | |||
1768 | }, | 1768 | }, |
1769 | }; | 1769 | }; |
1770 | 1770 | ||
1771 | int __devinit sm501fb_init(void) | 1771 | static int __devinit sm501fb_init(void) |
1772 | { | 1772 | { |
1773 | return platform_driver_register(&sm501fb_driver); | 1773 | return platform_driver_register(&sm501fb_driver); |
1774 | } | 1774 | } |