mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: "Toralf Förster" <toralf.foerster@gmx.de>,
	akpm <akpm@linux-foundation.org>,
	"Brian Johnson" <brijohn@gmail.com>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
	Mauro Carvalho Chehab <mchehab@infradead.org>
Subject: [PATCH] gspca: fix sn9c20x build errors
Date: Sun, 23 Aug 2009 20:41:04 -0700	[thread overview]
Message-ID: <20090823204104.6043aebe.randy.dunlap@oracle.com> (raw)
In-Reply-To: <200908231417.49207.toralf.foerster@gmx.de>

From: Randy Dunlap <randy.dunlap@oracle.com>

Fix gscpa sn9c20x build errors:
ERROR: "input_event" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_register_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_free_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_unregister_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!
ERROR: "input_allocate_device" [drivers/media/video/gspca/gspca_sn9c20x.ko] undefined!

Reported-by: Toralf Förster <toralf.foerster@gmx.de
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/media/video/gspca/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.31-rc7-git1.orig/drivers/media/video/gspca/Kconfig
+++ linux-2.6.31-rc7-git1/drivers/media/video/gspca/Kconfig
@@ -114,7 +114,7 @@ config USB_GSPCA_SN9C20X
 
 config USB_GSPCA_SN9C20X_EVDEV
        bool "Enable evdev support"
-       depends on USB_GSPCA_SN9C20X
+       depends on USB_GSPCA_SN9C20X && INPUT
        ---help---
 	 Say Y here in order to enable evdev support for sn9c20x webcam button.
 



---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/

      reply	other threads:[~2009-08-24  4:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-23 12:17 build issue #21 for v2.6.31-rc7-12-g3edf2fb in video/gspca/gspca_sn9c20x.ko Toralf Förster
2009-08-24  3:41 ` Randy Dunlap [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=20090823204104.6043aebe.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=akpm@linux-foundation.org \
    --cc=brijohn@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=toralf.foerster@gmx.de \
    /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®