mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pekka Seppänen" <pexu@kapsi.fi>
To: Linux and Kernel Video <video4linux-list@redhat.com>
Cc: linux-kernel@vger.kernel.org,
	Mauro Carvalho Chehab <mchehab@infradead.org>,
	Douglas Schilling Landgraf <dougsland@gmail.com>,
	Trent Piepho <xyzzy@speakeasy.org>, Ingo Molnar <mingo@elte.hu>
Subject: [PATCH] radio-gemtek: fix 'VID_HARDWARE_GEMTEK' undeclared
Date: Mon, 15 Oct 2007 16:16:21 +0300	[thread overview]
Message-ID: <47136825.9010101@kapsi.fi> (raw)
In-Reply-To: <20071015111345.GA26777@elte.hu>

Remove obsolete V4L v1 reference.

Signed-off-by: Pekka Seppänen <pexu@kapsi.fi>
---

Ingo Molnar wrote:
> randconfig testing of latest -git found this build bug:
> 
> drivers/media/radio/radio-gemtek.c:557: error: 'VID_HARDWARE_GEMTEK' undeclared here (not in a function)
> 
> config attached.

.hardware = VID_HARDWARE_GEMTEK was from pre-V4L2 era module. My bad, sorry folks.

diff -up v4l-dvb/linux/drivers/media/radio/radio-gemtek.c{.orig,}
--- v4l-dvb/linux/drivers/media/radio/radio-gemtek.c.orig       2007-10-15 15:52:38.000000000 +0300
+++ v4l-dvb/linux/drivers/media/radio/radio-gemtek.c    2007-10-15 15:52:53.000000000 +0300
@@ -555,7 +555,6 @@ static struct video_device gemtek_radio
        .owner                  = THIS_MODULE,
        .name                   = "GemTek Radio card",
        .type                   = VID_TYPE_TUNER,
-       .hardware               = VID_HARDWARE_GEMTEK,
        .fops                   = &gemtek_fops,
        .vidioc_querycap        = vidioc_querycap,
        .vidioc_g_tuner         = vidioc_g_tuner,

  reply	other threads:[~2007-10-15 13:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 11:13 [build bug] error: " Ingo Molnar
2007-10-15 13:16 ` Pekka Seppänen [this message]
2007-10-15 13:49   ` [PATCH] radio-gemtek: fix " Ingo Molnar
2007-10-15 15:11 ` [build bug] error: " Mauro Carvalho Chehab
2007-10-15 15:43   ` [patch] videbuf-core.c: fix build error Ingo Molnar
2007-10-15 18:27 ` [build bug] error: 'VID_HARDWARE_GEMTEK' undeclared Trent Piepho
2007-10-15 18:37   ` Mauro Carvalho Chehab

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=47136825.9010101@kapsi.fi \
    --to=pexu@kapsi.fi \
    --cc=dougsland@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mingo@elte.hu \
    --cc=video4linux-list@redhat.com \
    --cc=xyzzy@speakeasy.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

all inboxes | Powered by JetHome®