From patchwork Wed Jul 28 15:14:03 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 3923 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Wed, 28 Jul 2010 15:14:31 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Wed, 28 Jul 2010 12:19:49 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Oe8L0-0000cY-Ot; Wed, 28 Jul 2010 15:14:31 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754806Ab0G1PO2 (ORCPT + 1 other); Wed, 28 Jul 2010 11:14:28 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:59260 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752329Ab0G1PO0 (ORCPT ); Wed, 28 Jul 2010 11:14:26 -0400 Received: by mail-bw0-f46.google.com with SMTP id 1so4014228bwz.19 for ; Wed, 28 Jul 2010 08:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=hFNAvmkhbKvCBRwrMM5hk7UlNVIMIsTFI7hOWsjORkg=; b=PnanJafK6TAe4tIWZ4GHN1dSWQrqEcSv5/4HHVTa41qsKvJqjBBYuj3+pOM5+4eK2m wMb/Gs+dqI0KujWe1aJH93HEMRwCZfOSrvUGd3YaxYONJT+yWflJLEesJW9vcGmf+HCR vniH265JSYXiPTqbSYRw/cSDLWE/WK8dsqOZE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Kg+lswLQAkG/Bjq5DTlNMYuvDPq3Bs1l3oC3vCNT8J5V97OHjVEOuGf2FBwIQMu9MB 3/2BbIlS0CKTuzeS0rX04K2uvgOH+31AcgVOZTFpI9aba33SMnlCfmUOoHDIC6UzcZ6M MpVOCf0ObvoRryyXw/Fyeokq3ih67BZbvQZFA= Received: by 10.204.6.28 with SMTP id 28mr8040041bkx.60.1280330065623; Wed, 28 Jul 2010 08:14:25 -0700 (PDT) Received: from localhost.localdomain (IGLD-84-229-112-176.inter.net.il [84.229.112.176]) by mx.google.com with ESMTPS id bq20sm4855282bkb.16.2010.07.28.08.14.22 (version=SSLv3 cipher=RC4-MD5); Wed, 28 Jul 2010 08:14:24 -0700 (PDT) From: Maxim Levitsky To: lirc-list@lists.sourceforge.net Cc: Jarod Wilson , linux-input@vger.kernel.org, linux-media@vger.kernel.org, Mauro Carvalho Chehab , Maxim Levitsky Subject: [PATCH 1/9] IR: Kconfig fixes Date: Wed, 28 Jul 2010 18:14:03 +0300 Message-Id: <1280330051-27732-2-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1280330051-27732-1-git-send-email-maximlevitsky@gmail.com> References: <1280330051-27732-1-git-send-email-maximlevitsky@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Move IR drives below separate menu. This allows to disable them. Also correct a typo. Signed-off-by: Maxim Levitsky --- drivers/media/IR/Kconfig | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig index e557ae0..99ea9cd 100644 --- a/drivers/media/IR/Kconfig +++ b/drivers/media/IR/Kconfig @@ -1,8 +1,10 @@ -config IR_CORE - tristate +menuconfig IR_CORE + tristate "Infrared remote controller adapters" depends on INPUT default INPUT +if IR_CORE + config VIDEO_IR tristate depends on IR_CORE @@ -16,7 +18,7 @@ config LIRC Enable this option to build the Linux Infrared Remote Control (LIRC) core device interface driver. The LIRC interface passes raw IR to and from userspace, where the - LIRC daemon handles protocol decoding for IR reception ann + LIRC daemon handles protocol decoding for IR reception and encoding for IR transmitting (aka "blasting"). source "drivers/media/IR/keymaps/Kconfig" @@ -102,3 +104,9 @@ config IR_MCEUSB To compile this driver as a module, choose M here: the module will be called mceusb. + + + + + +endif #IR_CORE