diff options
Diffstat (limited to 'drivers/video/savage')
-rw-r--r-- | drivers/video/savage/savagefb_driver.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/savage/savagefb_driver.c b/drivers/video/savage/savagefb_driver.c index d952bf3199a6..0166ec2ccf32 100644 --- a/drivers/video/savage/savagefb_driver.c +++ b/drivers/video/savage/savagefb_driver.c | |||
@@ -509,7 +509,7 @@ static int common_calc_clock(long freq, int min_m, int min_n1, int max_n1, | |||
509 | #ifdef SAVAGEFB_DEBUG | 509 | #ifdef SAVAGEFB_DEBUG |
510 | /* This function is used to debug, it prints out the contents of s3 regs */ | 510 | /* This function is used to debug, it prints out the contents of s3 regs */ |
511 | 511 | ||
512 | static void SavagePrintRegs(void) | 512 | static void SavagePrintRegs(struct savagefb_par *par) |
513 | { | 513 | { |
514 | unsigned char i; | 514 | unsigned char i; |
515 | int vgaCRIndex = 0x3d4; | 515 | int vgaCRIndex = 0x3d4; |
@@ -1538,7 +1538,7 @@ static int savagefb_set_par(struct fb_info *info) | |||
1538 | savagefb_set_fix(info); | 1538 | savagefb_set_fix(info); |
1539 | savagefb_set_clip(info); | 1539 | savagefb_set_clip(info); |
1540 | 1540 | ||
1541 | SavagePrintRegs(); | 1541 | SavagePrintRegs(par); |
1542 | return 0; | 1542 | return 0; |
1543 | } | 1543 | } |
1544 | 1544 | ||
@@ -2168,7 +2168,6 @@ static int __devinit savagefb_probe(struct pci_dev* dev, | |||
2168 | int video_len; | 2168 | int video_len; |
2169 | 2169 | ||
2170 | DBG("savagefb_probe"); | 2170 | DBG("savagefb_probe"); |
2171 | SavagePrintRegs(); | ||
2172 | 2171 | ||
2173 | info = framebuffer_alloc(sizeof(struct savagefb_par), &dev->dev); | 2172 | info = framebuffer_alloc(sizeof(struct savagefb_par), &dev->dev); |
2174 | if (!info) | 2173 | if (!info) |