diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2011-09-10 21:29:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-12 14:52:15 (GMT) |
commit | 15ebe6c657db155fbb04143b1a655b8a58b0402e (patch) | |
tree | 55f8f72909b9b5acd485f2e91ddee70de27f3304 /drivers/staging/xgifb | |
parent | 3028474cb469ff5352bbc7cc685eee46ab8e888b (diff) | |
download | linux-15ebe6c657db155fbb04143b1a655b8a58b0402e.tar.xz |
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>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index e018b9a..1bff7f6 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -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) { |