public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "Ramón Finger Lilienthal" <ramon@instramed.com.br>
Cc: linux-omap@vger.kernel.org
Subject: Re: Error compiling for OMAP 5912
Date: Tue, 9 Sep 2008 11:29:17 -0700	[thread overview]
Message-ID: <20080909182917.GT29054@atomide.com> (raw)
In-Reply-To: <48C6BF1F.5020203@instramed.com.br>

Hi,

* Ramón Finger Lilienthal <ramon@instramed.com.br> [080909 11:24]:
> Dear friends,
>
> I am trying to compile the kernel for omap5912, and it's not working.
> My current kernel version is:
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 27
> EXTRAVERSION = -rc5
> NAME = Rotary Wombat
>
> I got this error from compiler:
> -----------------------------------------------------------------------------------------------------------
> LD drivers/hwmon/built-in.o
> CC drivers/i2c/i2c-boardinfo.o
> 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
> LD drivers/i2c/chips/built-in.o
> CC [M] 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’
> 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’
> drivers/i2c/chips/tlv320aic23.c: At top level:
> drivers/i2c/chips/tlv320aic23.c:287: error: redefinition of  
> ‘aic23_power_down’
> arch/arm/plat-omap/include/mach/aic23.h:122: error: previous definition  
> of ‘aic23_power_down’ was here
> drivers/i2c/chips/tlv320aic23.c:296: error: redefinition of ‘aic23_power_up’
> arch/arm/plat-omap/include/mach/aic23.h:118: error: previous definition  
> of ‘aic23_power_up’ was here
> 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
> -----------------------------------------------------------------------------------------------------------
>
> Any help will be welcome!

Sorry, we're in process of getting rid of the old audio drivers to
move to the omap ASoC, and the old drivers will then be removed.

Please search for the mailling list archives for ASoC and osk,
there's some work in progress to make the omap ASoC to work with osk.

Alternatively, there's a patch that still allows direct messing of
McBSP registers that you can use as a temporary fix.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2008-09-09 18:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-09 18:23 Error compiling for OMAP 5912 Ramón Finger Lilienthal
2008-09-09 18:29 ` Tony Lindgren [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080909182917.GT29054@atomide.com \
    --to=tony@atomide.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=ramon@instramed.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox