staging: xgifb: fix up MTRR printk
The condition for printk() is wrong. Also change it to dev_info(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3028474cb4
commit
15ebe6c657
1 changed files with 2 additions and 2 deletions
|
@ -2418,8 +2418,8 @@ static int __devinit xgifb_probe(struct pci_dev *pdev,
|
|||
(unsigned int) xgi_video_info.video_base,
|
||||
(unsigned int) xgi_video_info.video_size,
|
||||
MTRR_TYPE_WRCOMB, 1);
|
||||
if (xgi_video_info.mtrr)
|
||||
printk(KERN_INFO "XGIfb: Added MTRRs\n");
|
||||
if (xgi_video_info.mtrr >= 0)
|
||||
dev_info(&pdev->dev, "added MTRR\n");
|
||||
#endif
|
||||
|
||||
if (register_framebuffer(fb_info) < 0) {
|
||||
|
|
Loading…
Reference in a new issue