aboutsummaryrefslogtreecommitdiff
path: root/src/superio/via/vt1211/vt1211.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/via/vt1211/vt1211.c')
-rw-r--r--src/superio/via/vt1211/vt1211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/superio/via/vt1211/vt1211.c b/src/superio/via/vt1211/vt1211.c
index 1afa57e60d..e681d6eb9c 100644
--- a/src/superio/via/vt1211/vt1211.c
+++ b/src/superio/via/vt1211/vt1211.c
@@ -131,7 +131,7 @@ static void vt1211_pnp_set_resources(struct device *dev)
{
struct resource *res;
-#if CONFIG_CONSOLE_SERIAL8250 == 1
+#if CONFIG_CONSOLE_SERIAL8250
/* TODO: Do the same for SP2? */
if (dev->path.pnp.device == VT1211_SP1) {
for (res = dev->resource_list; res; res = res->next) {