diff options
author | Tom Rini <trini@konsulko.com> | 2015-10-21 20:47:40 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-21 20:47:40 -0400 |
commit | 858dbdf8412cefb6dbc4eed63dc3de9744578455 (patch) | |
tree | 7cca9f60b3d677b338defa3f4af74a1fff017071 /drivers/video | |
parent | 89b5c81b75658b7ff66dea6c38a51dfecc9dd508 (diff) | |
parent | e0ae64880b61fdeaf261fddd747efa80fa53d386 (diff) | |
download | u-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.c | 2 |
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; } |