public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: Eduardo Giacoman <giacoman@gmail.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: TSC2101 kernel compilation error: Touch & Audio IOCTLs questions
Date: Sat, 27 Oct 2007 07:42:16 +0200	[thread overview]
Message-ID: <4722CFB8.8000803@googlemail.com> (raw)
In-Reply-To: <7f3c88400710261245o2cc4b77bq8739fbdb29ceadc6@mail.gmail.com>

Eduardo Giacoman wrote:
> I'm having some troubles compiling the kernel with the audio and touchscreen
> enabled. I am working with an OMAP1610 H2 board and it has a TSC2101 chip.
> I am using kernel 2.6.23.1 with muru patch and I also tried with the latest
> git tree. I am getting the following error while compiling:
> 
> CC      sound/arm/omap/omap-alsa-tsc2101.o
> sound/arm/omap/omap-alsa-tsc2101.c: In function `tsc2101_audio_write':
> sound/arm/omap/omap-alsa-tsc2101.c:146: error: implicit declaration of
> function `omap_tsc2101_write'
> sound/arm/omap/omap-alsa-tsc2101.c: In function `tsc2101_audio_read':
> sound/arm/omap/omap-alsa-tsc2101.c:154: error: implicit declaration of
> function `omap_tsc2101_read'
> make[3]: *** [sound/arm/omap/omap-alsa-tsc2101.o] Error 1
> make[2]: *** [sound/arm/omap] Error 2
> make[1]: *** [sound/arm] Error 2
> make: *** [sound] Error 2
> 
> I see that those functions are undeclared, but I've been looking for and I
> only found them on an older kernel under drivers/ssi/ folder which is
> missing (deprecated?) in the recent versions: omap-tsc2101.h, omap-tsc2101.c,
> omap-uwire.c, omap-uwire.h.

Yes, drivers/ssi/ was removed. drivers/spi/tsc2101.c should be used 
instead of above functions.

Seems that

drivers/input/touchscreen/omap/ts_hx.c
sound/arm/omap/omap-alsa-tsc2101.c
sound/arm/omap/omap-alsa-tsc2101-mixer.c

still need to be converted to the reworked interface.

Dirk

  reply	other threads:[~2007-10-27  5:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26 19:45 TSC2101 kernel compilation error: Touch & Audio IOCTLs questions Eduardo Giacoman
2007-10-27  5:42 ` Dirk Behme [this message]
2007-10-27  6:00   ` David Brownell

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=4722CFB8.8000803@googlemail.com \
    --to=dirk.behme@googlemail.com \
    --cc=giacoman@gmail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /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