summaryrefslogtreecommitdiffstats
path: root/sys/dev/ichwd/ichwd.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2010-11-27 00:26:19 +0000
committeremaste <emaste@FreeBSD.org>2010-11-27 00:26:19 +0000
commit49aafa93043af6b060d5d6f1bec3bf649b77f3d1 (patch)
treed04257e9690c056c1fd638be1fbea84b4dcec587 /sys/dev/ichwd/ichwd.c
parenta79f9a9e7d7b3497f742baf4b755d332108b38ce (diff)
downloadFreeBSD-src-49aafa93043af6b060d5d6f1bec3bf649b77f3d1.zip
FreeBSD-src-49aafa93043af6b060d5d6f1bec3bf649b77f3d1.tar.gz
Fix build by correcting function name. Pointed out by dougb.
Diffstat (limited to 'sys/dev/ichwd/ichwd.c')
-rw-r--r--sys/dev/ichwd/ichwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ichwd/ichwd.c b/sys/dev/ichwd/ichwd.c
index 30f2f49..9ddec20 100644
--- a/sys/dev/ichwd/ichwd.c
+++ b/sys/dev/ichwd/ichwd.c
@@ -523,7 +523,7 @@ ichwd_attach(device_t dev)
* Determine if we are coming up after a watchdog-induced reset.
* This bit is cleared in ichwd_sts_reset().
*/
- if ((ich_read_tco_2(sc, TCO2_STS) & TCO_SECOND_TO_STS) != 0)
+ if ((ichwd_read_tco_2(sc, TCO2_STS) & TCO_SECOND_TO_STS) != 0)
device_printf(dev,
"resuming after hardware watchdog timeout\n");
OpenPOWER on IntegriCloud