From patchwork Fri Jul 30 11:38:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 3985 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Fri, 30 Jul 2010 11:39:12 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Fri, 30 Jul 2010 09:07:15 -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 1Oenvj-0005G9-TP; Fri, 30 Jul 2010 11:39:12 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758372Ab0G3LjF (ORCPT + 1 other); Fri, 30 Jul 2010 07:39:05 -0400 Received: from mail-fx0-f46.google.com ([209.85.161.46]:45485 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756410Ab0G3LjD (ORCPT ); Fri, 30 Jul 2010 07:39:03 -0400 Received: by fxm14 with SMTP id 14so798188fxm.19 for ; Fri, 30 Jul 2010 04:39:00 -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=m5nC/xiYolG1VAlP6OHz/g4+RWctQowE1z1oDKUrQxA=; b=MsSwhqtwzW57XTej6EtlmDas2V6G/QH2MWUfM29qwNJjw+vloy5PvnpC52oTntmWAF Lj/NrO8FypNCSulQCazkfFX84xkt98lHwxw8Qv4N5Tjdr8wiFH5QmXivnSVHbMYvgbZ4 +tLttQHZSJQHds3fQ/eSguIvmAt9p9kwWxGWU= 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=UINf+/j6w6soVl2UrgnjjbqV5Xfw4GN4fsJp7cW94ImzFhsaSyA8u/xuIgSZdKcDkd nEl+qE9CnfPAYsVCkwvKQ54wkRsONEq40fy/XHLa3OPtR4uGgY4NJ+NREXBPo7XnwEuo GRuIVIx5T0B0TPWyppKqQ3saOAuakOlHRtbc4= Received: by 10.223.111.206 with SMTP id t14mr1902926fap.32.1280489940668; Fri, 30 Jul 2010 04:39:00 -0700 (PDT) Received: from localhost.localdomain (IGLD-84-228-19-51.inter.net.il [84.228.19.51]) by mx.google.com with ESMTPS id q17sm767482faa.21.2010.07.30.04.38.58 (version=SSLv3 cipher=RC4-MD5); Fri, 30 Jul 2010 04:38:59 -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 , Christoph Bartelmus , Maxim Levitsky Subject: [PATCH 01/13] IR: Kconfig fixes Date: Fri, 30 Jul 2010 14:38:41 +0300 Message-Id: <1280489933-20865-2-git-send-email-maximlevitsky@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1280489933-20865-1-git-send-email-maximlevitsky@gmail.com> References: <1280489933-20865-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 | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig index e557ae0..fc48a3f 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,5 @@ config IR_MCEUSB To compile this driver as a module, choose M here: the module will be called mceusb. + +endif #IR_CORE