summaryrefslogtreecommitdiff
path: root/src/superio/NSC/pc87360/superio.c
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-10-14 23:02:00 +0000
committerEric Biederman <ebiederm@xmission.com>2004-10-14 23:02:00 +0000
commit3287f0b9a1d8471abf3b18696d0d2a9943f32716 (patch)
treef34b52e3bc39ecf581a7922c1daa739756f6d7d0 /src/superio/NSC/pc87360/superio.c
parent448bd635c0c037544f0dc33846cf37e5ed80ae6a (diff)
- 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/superio/NSC/pc87360/superio.c')
-rw-r--r--src/superio/NSC/pc87360/superio.c8
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;
}