summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/hgafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/hgafb.c')
-rw-r--r--drivers/video/fbdev/hgafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/hgafb.c b/drivers/video/fbdev/hgafb.c
index cc8e62ae93f6..bd3d07aa4f0e 100644
--- a/drivers/video/fbdev/hgafb.c
+++ b/drivers/video/fbdev/hgafb.c
@@ -558,7 +558,7 @@ static int hgafb_probe(struct platform_device *pdev)
int ret;
ret = hga_card_detect();
- if (!ret)
+ if (ret)
return ret;
printk(KERN_INFO "hgafb: %s with %ldK of memory detected.\n",