public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Duncan Gibb <dg@duncangibb.com>
To: linux-media@vger.kernel.org
Subject: [PATCH] [Trivial] Make saa7134-input.c build for kernels < 2.6.30
Date: Sat, 12 Dec 2009 12:51:44 +0000	[thread overview]
Message-ID: <4B2391E0.3040800@duncangibb.com> (raw)

Hi

The current http://linuxtv.org/hg/v4l-dvb tree doesn't build against
my kernel (2.6.26-2-xen-686 from Debian Lenny) and lots of others
according to http://www.xs4all.nl/~hverkuil/logs/Friday.log because
of a typo fixed by this patch.  Apologies for posting what to many
will be the bleeding obvious.

Cheers

Duncan


Signed-off-by: Duncan Gibb <dg@duncangibb.com>
---
diff -r db37ff59927f linux/drivers/media/video/saa7134/saa7134-input.c
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Thu Dec 10 18:17:49 2009 -0200
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Sat Dec 12 12:08:10 2009 +0000
@@ -962,7 +962,7 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
                snprintf(ir->c.name, sizeof(ir->c.name), "FlyDVB Trio");
                ir->get_key   = get_key_flydvb_trio;
-               ir->ir_codes  = ir_codes_flydvb_table;
+               ir->ir_codes  = &ir_codes_flydvb_table;
 #else
                dev->init_data.name = "FlyDVB Trio";
                dev->init_data.get_key = get_key_flydvb_trio;



                 reply	other threads:[~2009-12-12 13:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4B2391E0.3040800@duncangibb.com \
    --to=dg@duncangibb.com \
    --cc=linux-media@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox