summaryrefslogtreecommitdiffstats
path: root/sys/dev/bktr
diff options
context:
space:
mode:
authorjosef <josef@FreeBSD.org>2004-05-26 20:18:58 +0000
committerjosef <josef@FreeBSD.org>2004-05-26 20:18:58 +0000
commitb19c4df7f447736f3729e2e0143fd4c39fb33a4a (patch)
tree91e866c7751c70e7154b955d4bd7e7da071ff2b7 /sys/dev/bktr
parenta040fe460a58510f8669b5f6bca33e03db8bdfa0 (diff)
downloadFreeBSD-src-b19c4df7f447736f3729e2e0143fd4c39fb33a4a.zip
FreeBSD-src-b19c4df7f447736f3729e2e0143fd4c39fb33a4a.tar.gz
Unbreak build if
options BKTR_USE_FREEBSD_SMBUS is defined in kernel configuration. Submitted by: Tom Convery <tpc@tomfoo.com> PR: kern/60458 Approved by: imp
Diffstat (limited to 'sys/dev/bktr')
-rw-r--r--sys/dev/bktr/bktr_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c
index e1b09a6..a71d708 100644
--- a/sys/dev/bktr/bktr_core.c
+++ b/sys/dev/bktr/bktr_core.c
@@ -3890,7 +3890,7 @@ i2cRead( bktr_ptr_t bktr, int addr )
return ((int)((unsigned char)result));
}
-#define IICBUS(bktr) ((bktr)->i2c_sc.iicbus)
+#define IICBUS(bktr) ((bktr)->i2c_sc.iicbb)
/* The MSP34xx and DPL35xx Audio chip require i2c bus writes of up */
/* to 5 bytes which the bt848 automated i2c bus controller cannot handle */
OpenPOWER on IntegriCloud