Commit 15ebe6c6 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman

staging: xgifb: fix up MTRR printk

The condition for printk() is wrong. Also change it to dev_info().
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 3028474c
...@@ -2418,8 +2418,8 @@ static int __devinit xgifb_probe(struct pci_dev *pdev, ...@@ -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_base,
(unsigned int) xgi_video_info.video_size, (unsigned int) xgi_video_info.video_size,
MTRR_TYPE_WRCOMB, 1); MTRR_TYPE_WRCOMB, 1);
if (xgi_video_info.mtrr) if (xgi_video_info.mtrr >= 0)
printk(KERN_INFO "XGIfb: Added MTRRs\n"); dev_info(&pdev->dev, "added MTRR\n");
#endif #endif
if (register_framebuffer(fb_info) < 0) { if (register_framebuffer(fb_info) < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment