aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/mach64_ct.c
diff options
context:
space:
mode:
authorVille Syrjala <syrjala@sci.fi>2006-12-08 05:40:42 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-08 11:29:07 -0500
commit5850e0cf9a2345498fe2545c37118ef9405044eb (patch)
treec60cd5a9f71cf5f50defdfb5f820649b975d05d2 /drivers/video/aty/mach64_ct.c
parent044aaa32e789492e638a229b5f1930bfb8bc75a1 (diff)
[PATCH] atyfb: Fix __init and __devinit annotations
Fix some __init and __devinit annotations. Signed-off-by: Ville Syrjala <syrjala@sci.fi> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/aty/mach64_ct.c')
-rw-r--r--drivers/video/aty/mach64_ct.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/aty/mach64_ct.c b/drivers/video/aty/mach64_ct.c
index 5080816be653..10232cc2dc76 100644
--- a/drivers/video/aty/mach64_ct.c
+++ b/drivers/video/aty/mach64_ct.c
@@ -370,8 +370,8 @@ void aty_set_pll_ct(const struct fb_info *info, const union aty_pll *pll)
370#endif 370#endif
371} 371}
372 372
373static void __init aty_get_pll_ct(const struct fb_info *info, 373static void __devinit aty_get_pll_ct(const struct fb_info *info,
374 union aty_pll *pll) 374 union aty_pll *pll)
375{ 375{
376 struct atyfb_par *par = (struct atyfb_par *) info->par; 376 struct atyfb_par *par = (struct atyfb_par *) info->par;
377 u8 tmp, clock; 377 u8 tmp, clock;
@@ -394,8 +394,8 @@ static void __init aty_get_pll_ct(const struct fb_info *info,
394 } 394 }
395} 395}
396 396
397static int __init aty_init_pll_ct(const struct fb_info *info, 397static int __devinit aty_init_pll_ct(const struct fb_info *info,
398 union aty_pll *pll) 398 union aty_pll *pll)
399{ 399{
400 struct atyfb_par *par = (struct atyfb_par *) info->par; 400 struct atyfb_par *par = (struct atyfb_par *) info->par;
401 u8 mpost_div, xpost_div, sclk_post_div_real, sclk_fb_div, spll_cntl2; 401 u8 mpost_div, xpost_div, sclk_post_div_real, sclk_fb_div, spll_cntl2;