diff options
Diffstat (limited to 'drivers/video/tridentfb.c')
-rw-r--r-- | drivers/video/tridentfb.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c index 34cf019bba44..ab57d387d6b5 100644 --- a/drivers/video/tridentfb.c +++ b/drivers/video/tridentfb.c | |||
@@ -53,19 +53,19 @@ static struct fb_fix_screeninfo tridentfb_fix = { | |||
53 | /* defaults which are normally overriden by user values */ | 53 | /* defaults which are normally overriden by user values */ |
54 | 54 | ||
55 | /* video mode */ | 55 | /* video mode */ |
56 | static char *mode_option __devinitdata = "640x480-8@60"; | 56 | static char *mode_option = "640x480-8@60"; |
57 | static int bpp __devinitdata = 8; | 57 | static int bpp = 8; |
58 | 58 | ||
59 | static int noaccel __devinitdata; | 59 | static int noaccel; |
60 | 60 | ||
61 | static int center; | 61 | static int center; |
62 | static int stretch; | 62 | static int stretch; |
63 | 63 | ||
64 | static int fp __devinitdata; | 64 | static int fp; |
65 | static int crt __devinitdata; | 65 | static int crt; |
66 | 66 | ||
67 | static int memsize __devinitdata; | 67 | static int memsize; |
68 | static int memdiff __devinitdata; | 68 | static int memdiff; |
69 | static int nativex; | 69 | static int nativex; |
70 | 70 | ||
71 | module_param(mode_option, charp, 0); | 71 | module_param(mode_option, charp, 0); |
@@ -637,7 +637,7 @@ static inline void crtc_unlock(struct tridentfb_par *par) | |||
637 | } | 637 | } |
638 | 638 | ||
639 | /* Return flat panel's maximum x resolution */ | 639 | /* Return flat panel's maximum x resolution */ |
640 | static int __devinit get_nativex(struct tridentfb_par *par) | 640 | static int get_nativex(struct tridentfb_par *par) |
641 | { | 641 | { |
642 | int x, y, tmp; | 642 | int x, y, tmp; |
643 | 643 | ||
@@ -771,7 +771,7 @@ static void set_number_of_lines(struct tridentfb_par *par, int lines) | |||
771 | * If we see that FP is active we assume we have one. | 771 | * If we see that FP is active we assume we have one. |
772 | * Otherwise we have a CRT display. User can override. | 772 | * Otherwise we have a CRT display. User can override. |
773 | */ | 773 | */ |
774 | static int __devinit is_flatpanel(struct tridentfb_par *par) | 774 | static int is_flatpanel(struct tridentfb_par *par) |
775 | { | 775 | { |
776 | if (fp) | 776 | if (fp) |
777 | return 1; | 777 | return 1; |
@@ -781,7 +781,7 @@ static int __devinit is_flatpanel(struct tridentfb_par *par) | |||
781 | } | 781 | } |
782 | 782 | ||
783 | /* Try detecting the video memory size */ | 783 | /* Try detecting the video memory size */ |
784 | static unsigned int __devinit get_memsize(struct tridentfb_par *par) | 784 | static unsigned int get_memsize(struct tridentfb_par *par) |
785 | { | 785 | { |
786 | unsigned char tmp, tmp2; | 786 | unsigned char tmp, tmp2; |
787 | unsigned int k; | 787 | unsigned int k; |
@@ -1331,8 +1331,8 @@ static struct fb_ops tridentfb_ops = { | |||
1331 | .fb_sync = tridentfb_sync, | 1331 | .fb_sync = tridentfb_sync, |
1332 | }; | 1332 | }; |
1333 | 1333 | ||
1334 | static int __devinit trident_pci_probe(struct pci_dev *dev, | 1334 | static int trident_pci_probe(struct pci_dev *dev, |
1335 | const struct pci_device_id *id) | 1335 | const struct pci_device_id *id) |
1336 | { | 1336 | { |
1337 | int err; | 1337 | int err; |
1338 | unsigned char revision; | 1338 | unsigned char revision; |
@@ -1543,7 +1543,7 @@ out_unmap1: | |||
1543 | return err; | 1543 | return err; |
1544 | } | 1544 | } |
1545 | 1545 | ||
1546 | static void __devexit trident_pci_remove(struct pci_dev *dev) | 1546 | static void trident_pci_remove(struct pci_dev *dev) |
1547 | { | 1547 | { |
1548 | struct fb_info *info = pci_get_drvdata(dev); | 1548 | struct fb_info *info = pci_get_drvdata(dev); |
1549 | struct tridentfb_par *par = info->par; | 1549 | struct tridentfb_par *par = info->par; |
@@ -1591,7 +1591,7 @@ static struct pci_driver tridentfb_pci_driver = { | |||
1591 | .name = "tridentfb", | 1591 | .name = "tridentfb", |
1592 | .id_table = trident_devices, | 1592 | .id_table = trident_devices, |
1593 | .probe = trident_pci_probe, | 1593 | .probe = trident_pci_probe, |
1594 | .remove = __devexit_p(trident_pci_remove) | 1594 | .remove = trident_pci_remove, |
1595 | }; | 1595 | }; |
1596 | 1596 | ||
1597 | /* | 1597 | /* |