diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-14 21:47:24 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-14 21:47:24 +0000 |
commit | 737735b802079cdc09584eeef9dc0ae971fd054d (patch) | |
tree | b3800c67995fcfcf2a3660f7bf0993142b8f3aa8 /src/superio/fintek/f71805f | |
parent | 6630ce15d7dba1665ba9db0e8fcc4f44caaecbc7 (diff) |
fix COM2 resource bug in fintek f71805f driver.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5438 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/fintek/f71805f')
-rw-r--r-- | src/superio/fintek/f71805f/superio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/fintek/f71805f/superio.c b/src/superio/fintek/f71805f/superio.c index 6476e0a6f7..6cf2f621ec 100644 --- a/src/superio/fintek/f71805f/superio.c +++ b/src/superio/fintek/f71805f/superio.c @@ -42,7 +42,7 @@ static void pnp_exit_conf_state(device_t dev) static void f71805f_init(device_t dev) { struct superio_fintek_f71805f_config *conf = dev->chip_info; - struct resource *res0, *res1; + struct resource *res0; if (!dev->enabled) return; @@ -54,7 +54,7 @@ static void f71805f_init(device_t dev) init_uart8250(res0->base, &conf->com1); break; case F71805F_SP2: - res1 = find_resource(dev, PNP_IDX_IO0); + res0 = find_resource(dev, PNP_IDX_IO0); init_uart8250(res0->base, &conf->com2); break; } |