diff options
author | Josef El-Rayes <josef@FreeBSD.org> | 2004-05-26 20:18:58 +0000 |
---|---|---|
committer | Josef El-Rayes <josef@FreeBSD.org> | 2004-05-26 20:18:58 +0000 |
commit | f50d9ea1d432d83b8a8f48d11664d465ce4d1ff7 (patch) | |
tree | 91e866c7751c70e7154b955d4bd7e7da071ff2b7 /sys/dev/bktr | |
parent | 8374d9db177f420921ce20cfb32e47f114ec44c5 (diff) | |
download | src-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.c | 2 |
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 */ |