diff options
author | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-08-08 21:34:27 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2010-09-23 22:14:46 -0400 |
commit | f4ab2f7a21338ae0f59ad925c23545e790cd51e3 (patch) | |
tree | 3f08e11062c0b2be9f3c150a8b9ad667c0c1e0dd /drivers/video/via/hw.c | |
parent | a54be174e425cb41eb774714d03ff98562ee0824 (diff) |
viafb: propagate __init and __devinit
There are a lot of init functions which are not marked as such.
Fix this.
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joseph Chan <JosephChan@via.com.tw>
Diffstat (limited to 'drivers/video/via/hw.c')
-rw-r--r-- | drivers/video/via/hw.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 2f7f64006499..4407943fa7d7 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c | |||
@@ -724,9 +724,9 @@ static void dvi_patch_skew_dvp_low(void); | |||
724 | static void set_dvi_output_path(int set_iga, int output_interface); | 724 | static void set_dvi_output_path(int set_iga, int output_interface); |
725 | static void set_lcd_output_path(int set_iga, int output_interface); | 725 | static void set_lcd_output_path(int set_iga, int output_interface); |
726 | static void load_fix_bit_crtc_reg(void); | 726 | static void load_fix_bit_crtc_reg(void); |
727 | static void init_gfx_chip_info(int chip_type); | 727 | static void __devinit init_gfx_chip_info(int chip_type); |
728 | static void init_tmds_chip_info(void); | 728 | static void __devinit init_tmds_chip_info(void); |
729 | static void init_lvds_chip_info(void); | 729 | static void __devinit init_lvds_chip_info(void); |
730 | static void device_screen_off(void); | 730 | static void device_screen_off(void); |
731 | static void device_screen_on(void); | 731 | static void device_screen_on(void); |
732 | static void set_display_channel(void); | 732 | static void set_display_channel(void); |
@@ -1980,7 +1980,7 @@ void viafb_fill_crtc_timing(struct crt_mode_table *crt_table, | |||
1980 | 1980 | ||
1981 | } | 1981 | } |
1982 | 1982 | ||
1983 | void viafb_init_chip_info(int chip_type) | 1983 | void __devinit viafb_init_chip_info(int chip_type) |
1984 | { | 1984 | { |
1985 | init_gfx_chip_info(chip_type); | 1985 | init_gfx_chip_info(chip_type); |
1986 | init_tmds_chip_info(); | 1986 | init_tmds_chip_info(); |
@@ -2047,7 +2047,7 @@ void viafb_update_device_setting(int hres, int vres, | |||
2047 | } | 2047 | } |
2048 | } | 2048 | } |
2049 | 2049 | ||
2050 | static void init_gfx_chip_info(int chip_type) | 2050 | static void __devinit init_gfx_chip_info(int chip_type) |
2051 | { | 2051 | { |
2052 | u8 tmp; | 2052 | u8 tmp; |
2053 | 2053 | ||
@@ -2099,7 +2099,7 @@ static void init_gfx_chip_info(int chip_type) | |||
2099 | } | 2099 | } |
2100 | } | 2100 | } |
2101 | 2101 | ||
2102 | static void init_tmds_chip_info(void) | 2102 | static void __devinit init_tmds_chip_info(void) |
2103 | { | 2103 | { |
2104 | viafb_tmds_trasmitter_identify(); | 2104 | viafb_tmds_trasmitter_identify(); |
2105 | 2105 | ||
@@ -2144,7 +2144,7 @@ static void init_tmds_chip_info(void) | |||
2144 | &viaparinfo->shared->tmds_setting_info); | 2144 | &viaparinfo->shared->tmds_setting_info); |
2145 | } | 2145 | } |
2146 | 2146 | ||
2147 | static void init_lvds_chip_info(void) | 2147 | static void __devinit init_lvds_chip_info(void) |
2148 | { | 2148 | { |
2149 | viafb_lvds_trasmitter_identify(); | 2149 | viafb_lvds_trasmitter_identify(); |
2150 | viafb_init_lcd_size(); | 2150 | viafb_init_lcd_size(); |
@@ -2178,7 +2178,7 @@ static void init_lvds_chip_info(void) | |||
2178 | viaparinfo->chip_info->lvds_chip_info.output_interface); | 2178 | viaparinfo->chip_info->lvds_chip_info.output_interface); |
2179 | } | 2179 | } |
2180 | 2180 | ||
2181 | void viafb_init_dac(int set_iga) | 2181 | void __devinit viafb_init_dac(int set_iga) |
2182 | { | 2182 | { |
2183 | int i; | 2183 | int i; |
2184 | u8 tmp; | 2184 | u8 tmp; |