diff --git a/src/include/pc80/vga.h b/src/include/pc80/vga.h index e71a214d0b..d4dea873b3 100644 --- a/src/include/pc80/vga.h +++ b/src/include/pc80/vga.h @@ -24,7 +24,7 @@ #define VGA_COLUMNS 80 #define VGA_LINES 25 -#if (CONFIG_VGA == 1) +#if CONFIG_VGA void vga_io_init(void); @@ -38,6 +38,6 @@ void vga_frame_set(unsigned int line, unsigned int character); void vga_line_write(unsigned int line, const char *string); -#endif /* (CONFIG_VGA == 1) */ +#endif /* CONFIG_VGA */ #endif /* VGA_H */ diff --git a/src/southbridge/via/k8t890/k8m890_chrome.c b/src/southbridge/via/k8t890/k8m890_chrome.c index 544b08e9d9..824c8b10d3 100644 --- a/src/southbridge/via/k8t890/k8m890_chrome.c +++ b/src/southbridge/via/k8t890/k8m890_chrome.c @@ -23,7 +23,7 @@ #include /* for memset */ #include "k8t890.h" -#if CONFIG_VGA == 1 +#if CONFIG_VGA #include #include #include @@ -140,7 +140,7 @@ chrome_init(struct device *dev) //k8m890_host_fb_direct_set(fb_address); -#if CONFIG_VGA == 1 +#if CONFIG_VGA /* Now set up the VGA console */ vga_io_init(); /* Enable full IO access */