aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bktr
diff options
context:
space:
mode:
authorJosef El-Rayes <josef@FreeBSD.org>2004-05-26 20:18:58 +0000
committerJosef El-Rayes <josef@FreeBSD.org>2004-05-26 20:18:58 +0000
commitf50d9ea1d432d83b8a8f48d11664d465ce4d1ff7 (patch)
tree91e866c7751c70e7154b955d4bd7e7da071ff2b7 /sys/dev/bktr
parent8374d9db177f420921ce20cfb32e47f114ec44c5 (diff)
downloadsrc-f50d9ea1d432d83b8a8f48d11664d465ce4d1ff7.tar.gz
src-f50d9ea1d432d83b8a8f48d11664d465ce4d1ff7.zip
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
Notes
Notes: svn path=/head/; revision=129755
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 e1b09a6d410b..a71d70803d15 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 */