Hi,
answers below.
----- Original Message -----
From: "Yuri Jaeger Monti" <yurijm@xxxxxxxxx>
To: <linux-omap@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 12, 2008 12:51 AM
Subject: OMAP AIC23
Dear fellows,
I'm having some errors trying to compile the current kernel version
for OMAP5912 on AIC23:
...
CC drivers/i2c/i2c-core.o
CC drivers/i2c/i2c-dev.o
LD drivers/i2c/algos/built-in.o
CC drivers/i2c/busses/i2c-omap.o
LD drivers/i2c/busses/built-in.o
CC drivers/i2c/chips/tps65010.o
CC drivers/i2c/chips/tlv320aic23.o
drivers/i2c/chips/tlv320aic23.c: In function 'omap_mcbsp3_aic23_clock_init':
drivers/i2c/chips/tlv320aic23.c:113: error: implicit declaration of
function 'OMAP_MCBSP_WRITE'
Recently there wre some changes in McBSP driver for multi-omap support. Earlier
read/write calls used to be
defined as a macro and now it has been converted to a function, hence the
compilation error (implicit declaration of
function 'OMAP_MCBSP_WRITE') . you can look for recent patches for
arch/arm/plat-omap/mcbsp.c file.
i have a question, why a client is modifying mcbsp registers. There is a mcbsp
config function (omap_mcbsp_config) exported which you can use to
configure mcbsp registers.
if its an absolute necessity you can use omap_mcbsp_read and omap_mcbsp_write
function. which are defined in arch/arm/plat-omap/mcbsp.c.
but you need to pass full register name, like OMAP_MCBSP_REG_SPCR1 instead of
just SPCR1 ( 'SPCR1' undeclared error).
drivers/i2c/chips/tlv320aic23.c:113: error: 'SPCR1' undeclared (first
use in this function)
drivers/i2c/chips/tlv320aic23.c:113: error: (Each undeclared
identifier is reported only once
drivers/i2c/chips/tlv320aic23.c:113: error: for each function it appears in.)
drivers/i2c/chips/tlv320aic23.c:114: error: 'SPCR2' undeclared (first
use in this function)
drivers/i2c/chips/tlv320aic23.c:117: error: 'PCR0' undeclared (first
use in this function)
drivers/i2c/chips/tlv320aic23.c:120: error: 'SRGR1' undeclared (first
use in this function)
drivers/i2c/chips/tlv320aic23.c:121: error: 'SRGR2' undeclared (first
use in this function)
drivers/i2c/chips/tlv320aic23.c:124: error: implicit declaration of
function 'OMAP_MCBSP_READ'
make[3]: *** [drivers/i2c/chips/tlv320aic23.o] Error 1
make[2]: *** [drivers/i2c/chips] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2
Anyone know what could this be?
Thanks!
--
Yuri Jaeger Monti
The Catholic University at Porto Alegre - PUCRS
(51) 3320.3500 Ramal #7696
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html