All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Kolmann <philipp@kolmann.at>
To: Igor <goga777@bk.ru>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25
Date: Mon, 12 May 2008 19:44:41 +0200	[thread overview]
Message-ID: <20080512174441.GB23724@kolmann.at> (raw)
In-Reply-To: <E1JulAl-0001Ho-00.goga777-bk-ru@f53.mail.ru>

On Sat, May 10, 2008 at 01:15:19PM +0400, Igor wrote:
> could you try with the latest mantis version
> http://jusst.de/hg/mantis/rev/b7b8a2a81f3e

Manits head got fixed (regarding to the hg log). So I tried it. Still the same
error. Same with v4l tree.

Now I found a little patch which brought me over this compile error:

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc4/2.6.24-rc4-mm1/broken-out/fix-jdelvare-i2c-i2c-constify-client-address-data.patch

From: Andrew Morton <akpm@linux-foundation.org>

drivers/media/video/tvaudio.c:147: error: conflicting type qualifiers for 'addr_data'
include/media/v4l2-i2c-drv-legacy.h:37: error: previous declaration of 'addr_data' was here

Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/media/v4l2-i2c-drv-legacy.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN include/media/v4l2-i2c-drv-legacy.h~fix-jdelvare-i2c-i2c-constify-client-address-data include/media/v4l2-i2c-drv-legacy.h
--- a/include/media/v4l2-i2c-drv-legacy.h~fix-jdelvare-i2c-i2c-constify-client-address-data
+++ a/include/media/v4l2-i2c-drv-legacy.h
@@ -34,7 +34,7 @@ struct v4l2_i2c_driver_data {
 };
 
 static struct v4l2_i2c_driver_data v4l2_i2c_data;
-static struct i2c_client_address_data addr_data;
+static const struct i2c_client_address_data addr_data;
 static struct i2c_driver v4l2_i2c_driver_legacy;
 static char v4l2_i2c_drv_name_legacy[32];


Now I'm a step further.

Thanks
Philipp
-- 
The more I learn about people, the more I like my dog!

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  parent reply	other threads:[~2008-05-12 17:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-10  8:58 [linux-dvb] Mantis-08f27ef99d74: Compile error with 2.6.25 Philipp Kolmann
2008-05-10  9:15 ` Igor
2008-05-10  9:56   ` kiu
2008-05-12 17:44   ` Philipp Kolmann [this message]
2008-05-12 17:57     ` Philipp Kolmann

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=20080512174441.GB23724@kolmann.at \
    --to=philipp@kolmann.at \
    --cc=goga777@bk.ru \
    --cc=linux-dvb@linuxtv.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.