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/viafbdev.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/viafbdev.c')
-rw-r--r-- | drivers/video/via/viafbdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c index bdd0e4130f4e..5a947b096269 100644 --- a/drivers/video/via/viafbdev.c +++ b/drivers/video/via/viafbdev.c | |||
@@ -961,7 +961,7 @@ static void retrieve_device_setting(struct viafb_ioctl_setting | |||
961 | setting_info->lcd_attributes.lcd_mode = viafb_lcd_mode; | 961 | setting_info->lcd_attributes.lcd_mode = viafb_lcd_mode; |
962 | } | 962 | } |
963 | 963 | ||
964 | static int parse_active_dev(void) | 964 | static int __init parse_active_dev(void) |
965 | { | 965 | { |
966 | viafb_CRT_ON = STATE_OFF; | 966 | viafb_CRT_ON = STATE_OFF; |
967 | viafb_DVI_ON = STATE_OFF; | 967 | viafb_DVI_ON = STATE_OFF; |
@@ -1031,7 +1031,7 @@ static int parse_active_dev(void) | |||
1031 | return 0; | 1031 | return 0; |
1032 | } | 1032 | } |
1033 | 1033 | ||
1034 | static int parse_port(char *opt_str, int *output_interface) | 1034 | static int __devinit parse_port(char *opt_str, int *output_interface) |
1035 | { | 1035 | { |
1036 | if (!strncmp(opt_str, "DVP0", 4)) | 1036 | if (!strncmp(opt_str, "DVP0", 4)) |
1037 | *output_interface = INTERFACE_DVP0; | 1037 | *output_interface = INTERFACE_DVP0; |
@@ -1048,7 +1048,7 @@ static int parse_port(char *opt_str, int *output_interface) | |||
1048 | return 0; | 1048 | return 0; |
1049 | } | 1049 | } |
1050 | 1050 | ||
1051 | static void parse_lcd_port(void) | 1051 | static void __devinit parse_lcd_port(void) |
1052 | { | 1052 | { |
1053 | parse_port(viafb_lcd_port, &viaparinfo->chip_info->lvds_chip_info. | 1053 | parse_port(viafb_lcd_port, &viaparinfo->chip_info->lvds_chip_info. |
1054 | output_interface); | 1054 | output_interface); |
@@ -1061,7 +1061,7 @@ static void parse_lcd_port(void) | |||
1061 | output_interface); | 1061 | output_interface); |
1062 | } | 1062 | } |
1063 | 1063 | ||
1064 | static void parse_dvi_port(void) | 1064 | static void __devinit parse_dvi_port(void) |
1065 | { | 1065 | { |
1066 | parse_port(viafb_dvi_port, &viaparinfo->chip_info->tmds_chip_info. | 1066 | parse_port(viafb_dvi_port, &viaparinfo->chip_info->tmds_chip_info. |
1067 | output_interface); | 1067 | output_interface); |