aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/imsttfb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/imsttfb.c')
-rw-r--r--drivers/video/imsttfb.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/drivers/video/imsttfb.c b/drivers/video/imsttfb.c
index 8149356471e4..d5220cc90e93 100644
--- a/drivers/video/imsttfb.c
+++ b/drivers/video/imsttfb.c
@@ -225,7 +225,7 @@ struct initvalues {
225 __u8 addr, value; 225 __u8 addr, value;
226}; 226};
227 227
228static struct initvalues ibm_initregs[] __devinitdata = { 228static struct initvalues ibm_initregs[] = {
229 { CLKCTL, 0x21 }, 229 { CLKCTL, 0x21 },
230 { SYNCCTL, 0x00 }, 230 { SYNCCTL, 0x00 },
231 { HSYNCPOS, 0x00 }, 231 { HSYNCPOS, 0x00 },
@@ -272,7 +272,7 @@ static struct initvalues ibm_initregs[] __devinitdata = {
272 { KEYCTL, 0x00 } 272 { KEYCTL, 0x00 }
273}; 273};
274 274
275static struct initvalues tvp_initregs[] __devinitdata = { 275static struct initvalues tvp_initregs[] = {
276 { TVPIRICC, 0x00 }, 276 { TVPIRICC, 0x00 },
277 { TVPIRBRC, 0xe4 }, 277 { TVPIRBRC, 0xe4 },
278 { TVPIRLAC, 0x06 }, 278 { TVPIRLAC, 0x06 },
@@ -336,7 +336,7 @@ enum {
336static int inverse = 0; 336static int inverse = 0;
337static char fontname[40] __initdata = { 0 }; 337static char fontname[40] __initdata = { 0 };
338#if defined(CONFIG_PPC) 338#if defined(CONFIG_PPC)
339static signed char init_vmode __devinitdata = -1, init_cmode __devinitdata = -1; 339static signed char init_vmode = -1, init_cmode = -1;
340#endif 340#endif
341 341
342static struct imstt_regvals tvp_reg_init_2 = { 342static struct imstt_regvals tvp_reg_init_2 = {
@@ -1333,7 +1333,7 @@ static struct pci_driver imsttfb_pci_driver = {
1333 .name = "imsttfb", 1333 .name = "imsttfb",
1334 .id_table = imsttfb_pci_tbl, 1334 .id_table = imsttfb_pci_tbl,
1335 .probe = imsttfb_probe, 1335 .probe = imsttfb_probe,
1336 .remove = __devexit_p(imsttfb_remove), 1336 .remove = imsttfb_remove,
1337}; 1337};
1338 1338
1339static struct fb_ops imsttfb_ops = { 1339static struct fb_ops imsttfb_ops = {
@@ -1349,8 +1349,7 @@ static struct fb_ops imsttfb_ops = {
1349 .fb_ioctl = imsttfb_ioctl, 1349 .fb_ioctl = imsttfb_ioctl,
1350}; 1350};
1351 1351
1352static void __devinit 1352static void init_imstt(struct fb_info *info)
1353init_imstt(struct fb_info *info)
1354{ 1353{
1355 struct imstt_par *par = info->par; 1354 struct imstt_par *par = info->par;
1356 __u32 i, tmp, *ip, *end; 1355 __u32 i, tmp, *ip, *end;
@@ -1466,8 +1465,7 @@ init_imstt(struct fb_info *info)
1466 info->node, info->fix.id, info->fix.smem_len >> 20, tmp); 1465 info->node, info->fix.id, info->fix.smem_len >> 20, tmp);
1467} 1466}
1468 1467
1469static int __devinit 1468static int imsttfb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1470imsttfb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1471{ 1469{
1472 unsigned long addr, size; 1470 unsigned long addr, size;
1473 struct imstt_par *par; 1471 struct imstt_par *par;
@@ -1534,8 +1532,7 @@ imsttfb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
1534 return 0; 1532 return 0;
1535} 1533}
1536 1534
1537static void __devexit 1535static void imsttfb_remove(struct pci_dev *pdev)
1538imsttfb_remove(struct pci_dev *pdev)
1539{ 1536{
1540 struct fb_info *info = pci_get_drvdata(pdev); 1537 struct fb_info *info = pci_get_drvdata(pdev);
1541 struct imstt_par *par = info->par; 1538 struct imstt_par *par = info->par;