]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/video/aty/mach64_ct.c
[PATCH] atyfb: Fix __init and __devinit annotations
[karo-tx-linux.git] / drivers / video / aty / mach64_ct.c
index 5080816be653de4802a523d364ef720d394d0808..10232cc2dc768a8e8c71a37f657b04950a908746 100644 (file)
@@ -370,8 +370,8 @@ void aty_set_pll_ct(const struct fb_info *info, const union aty_pll *pll)
 #endif
 }
 
-static void __init aty_get_pll_ct(const struct fb_info *info,
-                                 union aty_pll *pll)
+static void __devinit aty_get_pll_ct(const struct fb_info *info,
+                                    union aty_pll *pll)
 {
        struct atyfb_par *par = (struct atyfb_par *) info->par;
        u8 tmp, clock;
@@ -394,8 +394,8 @@ static void __init aty_get_pll_ct(const struct fb_info *info,
        }
 }
 
-static int __init aty_init_pll_ct(const struct fb_info *info,
-                                union aty_pll *pll)
+static int __devinit aty_init_pll_ct(const struct fb_info *info,
+                                    union aty_pll *pll)
 {
        struct atyfb_par *par = (struct atyfb_par *) info->par;
        u8 mpost_div, xpost_div, sclk_post_div_real, sclk_fb_div, spll_cntl2;