diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-10-14 23:02:00 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-10-14 23:02:00 +0000 |
commit | 3287f0b9a1d8471abf3b18696d0d2a9943f32716 (patch) | |
tree | f34b52e3bc39ecf581a7922c1daa739756f6d7d0 /src | |
parent | 448bd635c0c037544f0dc33846cf37e5ed80ae6a (diff) | |
download | coreboot-3287f0b9a1d8471abf3b18696d0d2a9943f32716.tar.xz |
- Change broken usage of get_resource to find_resource.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1674 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r-- | src/superio/NSC/pc87360/superio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/superio/NSC/pc87360/superio.c b/src/superio/NSC/pc87360/superio.c index a9131569f5..c2c33765eb 100644 --- a/src/superio/NSC/pc87360/superio.c +++ b/src/superio/NSC/pc87360/superio.c @@ -27,16 +27,16 @@ static void init(device_t dev) conf = dev->chip->chip_info; switch(dev->path.u.pnp.device) { case PC87360_SP1: - res0 = get_resource(dev, PNP_IDX_IO0); + res0 = find_resource(dev, PNP_IDX_IO0); init_uart8250(res0->base, &conf->com1); break; case PC87360_SP2: - res0 = get_resource(dev, PNP_IDX_IO0); + res0 = find_resource(dev, PNP_IDX_IO0); init_uart8250(res0->base, &conf->com2); break; case PC87360_KBCK: - res0 = get_resource(dev, PNP_IDX_IO0); - res1 = get_resource(dev, PNP_IDX_IO1); + res0 = find_resource(dev, PNP_IDX_IO0); + res1 = find_resource(dev, PNP_IDX_IO1); init_pc_keyboard(res0->base, res1->base, &conf->keyboard); break; } |