Linux Input/HID development
 help / color / mirror / Atom feed
From: Parag Warudkar <parag.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Jiri Kosina <jkosina-AlSwsSmVLrQ@public.gmane.org>
Cc: Parag Warudkar
	<parag.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Anssi Hannula
	<anssi.hannula-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] USBHID: Make Boot Protocol drivers depend on EMBEDDED
Date: Sun, 21 Dec 2008 14:49:19 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.00.0812211441300.7101@parag-desktop> (raw)
In-Reply-To: <alpine.LRH.1.10.0812211824350.11630-1ReQVI26iDCaZKY3DrU6dA@public.gmane.org>



The usbmouse and usbkbd modules are not supposed to be used with regular 
USB mice and keyboards. Make them depend on EMBEDDED to prevent them from 
being built and loaded on non-EMBEDDED configs.

Signed-off-by: Parag Warudkar <parag.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

diff --git a/drivers/hid/usbhid/Kconfig b/drivers/hid/usbhid/Kconfig
index 5d9aa95..4edb3be 100644
--- a/drivers/hid/usbhid/Kconfig
+++ b/drivers/hid/usbhid/Kconfig
@@ -45,7 +45,7 @@ config USB_HIDDEV
 	  If unsure, say Y.
 
 menu "USB HID Boot Protocol drivers"
-	depends on USB!=n && USB_HID!=y
+	depends on USB!=n && USB_HID!=y && EMBEDDED
 
 config USB_KBD
 	tristate "USB HIDBP Keyboard (simple Boot) support"
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2008-12-21 19:49 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f7848160812201911k7988221asd095ce873fd8105f@mail.gmail.com>
     [not found] ` <f7848160812201911k7988221asd095ce873fd8105f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-12-21  6:12   ` 2.6.28-rc9: USB Mouse unhappy Andrew Morton
2008-12-21  6:26     ` Parag Warudkar
2008-12-21 10:56       ` Anssi Hannula
2008-12-21 15:17         ` Parag Warudkar
2008-12-21 17:30           ` Jiri Kosina
     [not found]             ` <alpine.LRH.1.10.0812211824350.11630-1ReQVI26iDCaZKY3DrU6dA@public.gmane.org>
2008-12-21 18:39               ` Jiri Kosina
     [not found]                 ` <alpine.LRH.1.10.0812211939170.11630-1ReQVI26iDCaZKY3DrU6dA@public.gmane.org>
2009-01-09 23:11                   ` Rafael J. Wysocki
2009-01-09 23:18                     ` Parag Warudkar
     [not found]                     ` <200901100011.35332.rjw-KKrjLPT3xs0@public.gmane.org>
2009-01-09 23:19                       ` Jiri Kosina
2009-01-10  0:19                         ` Rafael J. Wysocki
2008-12-21 19:49               ` Parag Warudkar [this message]
2008-12-21 21:48                 ` [PATCH] USBHID: Make Boot Protocol drivers depend on EMBEDDED Jiri Kosina
     [not found]                   ` <alpine.LNX.1.10.0812212247090.26265-YCXOAqNspd+N3ZZ/Hiejyg@public.gmane.org>
2008-12-21 22:02                     ` Andrew Morton
2008-12-21 22:03                       ` Jiri Kosina
     [not found]                         ` <alpine.LNX.1.10.0812212302400.26265-YCXOAqNspd+N3ZZ/Hiejyg@public.gmane.org>
2008-12-21 22:12                           ` Parag Warudkar
2008-12-21 22:17                             ` Anssi Hannula
2008-12-21 22:23                               ` Parag Warudkar
2008-12-21 22:44                                 ` Jiri Kosina
2008-12-21 23:55                                   ` Parag Warudkar
2008-12-22 21:52                 ` Jiri Kosina

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=alpine.DEB.2.00.0812211441300.7101@parag-desktop \
    --to=parag.lkml-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=anssi.hannula-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jkosina-AlSwsSmVLrQ@public.gmane.org \
    --cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.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