diff options
Diffstat (limited to 'drivers/video/via/viafbdev.c')
| -rw-r--r-- | drivers/video/via/viafbdev.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c index c80e770e1800..325c43c6ff97 100644 --- a/drivers/video/via/viafbdev.c +++ b/drivers/video/via/viafbdev.c | |||
| @@ -1072,7 +1072,7 @@ static int __init parse_active_dev(void) | |||
| 1072 | return 0; | 1072 | return 0; |
| 1073 | } | 1073 | } |
| 1074 | 1074 | ||
| 1075 | static int __devinit parse_port(char *opt_str, int *output_interface) | 1075 | static int parse_port(char *opt_str, int *output_interface) |
| 1076 | { | 1076 | { |
| 1077 | if (!strncmp(opt_str, "DVP0", 4)) | 1077 | if (!strncmp(opt_str, "DVP0", 4)) |
| 1078 | *output_interface = INTERFACE_DVP0; | 1078 | *output_interface = INTERFACE_DVP0; |
| @@ -1089,7 +1089,7 @@ static int __devinit parse_port(char *opt_str, int *output_interface) | |||
| 1089 | return 0; | 1089 | return 0; |
| 1090 | } | 1090 | } |
| 1091 | 1091 | ||
| 1092 | static void __devinit parse_lcd_port(void) | 1092 | static void parse_lcd_port(void) |
| 1093 | { | 1093 | { |
| 1094 | parse_port(viafb_lcd_port, &viaparinfo->chip_info->lvds_chip_info. | 1094 | parse_port(viafb_lcd_port, &viaparinfo->chip_info->lvds_chip_info. |
| 1095 | output_interface); | 1095 | output_interface); |
| @@ -1102,7 +1102,7 @@ static void __devinit parse_lcd_port(void) | |||
| 1102 | output_interface); | 1102 | output_interface); |
| 1103 | } | 1103 | } |
| 1104 | 1104 | ||
| 1105 | static void __devinit parse_dvi_port(void) | 1105 | static void parse_dvi_port(void) |
| 1106 | { | 1106 | { |
| 1107 | parse_port(viafb_dvi_port, &viaparinfo->chip_info->tmds_chip_info. | 1107 | parse_port(viafb_dvi_port, &viaparinfo->chip_info->tmds_chip_info. |
| 1108 | output_interface); | 1108 | output_interface); |
| @@ -1727,7 +1727,7 @@ static struct viafb_pm_hooks viafb_fb_pm_hooks = { | |||
| 1727 | 1727 | ||
| 1728 | #endif | 1728 | #endif |
| 1729 | 1729 | ||
| 1730 | static void __devinit i2c_bus_probe(struct viafb_shared *shared) | 1730 | static void i2c_bus_probe(struct viafb_shared *shared) |
| 1731 | { | 1731 | { |
| 1732 | /* should be always CRT */ | 1732 | /* should be always CRT */ |
| 1733 | printk(KERN_INFO "viafb: Probing I2C bus 0x26\n"); | 1733 | printk(KERN_INFO "viafb: Probing I2C bus 0x26\n"); |
| @@ -1753,7 +1753,7 @@ static void i2c_bus_free(struct viafb_shared *shared) | |||
| 1753 | via_aux_free(shared->i2c_2C); | 1753 | via_aux_free(shared->i2c_2C); |
| 1754 | } | 1754 | } |
| 1755 | 1755 | ||
| 1756 | int __devinit via_fb_pci_probe(struct viafb_dev *vdev) | 1756 | int via_fb_pci_probe(struct viafb_dev *vdev) |
| 1757 | { | 1757 | { |
| 1758 | u32 default_xres, default_yres; | 1758 | u32 default_xres, default_yres; |
| 1759 | struct fb_var_screeninfo default_var; | 1759 | struct fb_var_screeninfo default_var; |
| @@ -1945,7 +1945,7 @@ out_fb_release: | |||
| 1945 | return rc; | 1945 | return rc; |
| 1946 | } | 1946 | } |
| 1947 | 1947 | ||
| 1948 | void __devexit via_fb_pci_remove(struct pci_dev *pdev) | 1948 | void via_fb_pci_remove(struct pci_dev *pdev) |
| 1949 | { | 1949 | { |
| 1950 | DEBUG_MSG(KERN_INFO "via_pci_remove!\n"); | 1950 | DEBUG_MSG(KERN_INFO "via_pci_remove!\n"); |
| 1951 | fb_dealloc_cmap(&viafbinfo->cmap); | 1951 | fb_dealloc_cmap(&viafbinfo->cmap); |
