summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-10-21 20:47:40 -0400
committerTom Rini <trini@konsulko.com>2015-10-21 20:47:40 -0400
commit858dbdf8412cefb6dbc4eed63dc3de9744578455 (patch)
tree7cca9f60b3d677b338defa3f4af74a1fff017071 /drivers/video
parent89b5c81b75658b7ff66dea6c38a51dfecc9dd508 (diff)
parente0ae64880b61fdeaf261fddd747efa80fa53d386 (diff)
downloadu-boot-imx-858dbdf8412cefb6dbc4eed63dc3de9744578455.zip
u-boot-imx-858dbdf8412cefb6dbc4eed63dc3de9744578455.tar.gz
u-boot-imx-858dbdf8412cefb6dbc4eed63dc3de9744578455.tar.bz2
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/vesa_fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/vesa_fb.c b/drivers/video/vesa_fb.c
index 4e6d070..a19651f 100644
--- a/drivers/video/vesa_fb.c
+++ b/drivers/video/vesa_fb.c
@@ -34,7 +34,7 @@ void *video_hw_init(void)
}
if (vbe_get_video_info(gdev)) {
dev = pci_find_class(PCI_CLASS_DISPLAY_VGA << 8, 0);
- if (dev == -1) {
+ if (dev < 0) {
printf("no card detected\n");
return NULL;
}