From patchwork Thu Mar 25 01:40:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Fritz X-Patchwork-Id: 88123 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2P1aCWN024099 for ; Thu, 25 Mar 2010 01:36:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754406Ab0CYBgE (ORCPT ); Wed, 24 Mar 2010 21:36:04 -0400 Received: from mail-fx0-f223.google.com ([209.85.220.223]:59892 "EHLO mail-fx0-f223.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754630Ab0CYBgB (ORCPT ); Wed, 24 Mar 2010 21:36:01 -0400 Received: by fxm23 with SMTP id 23so679983fxm.21 for ; Wed, 24 Mar 2010 18:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=c1ghDx2fj1gx9xCrmvkp21uLYfHC97kxjDLS3B4T3XI=; b=caViEySjAQDqFlVoLAXxRKGLeQyhkpX7KHGLMuSDSFdRTaLV4NEsQvO1cJuXLpNmcB ob3PF2uY+/aUZDs1ZPh0p7DvztPyYjhUFOeTro6+khelWsz8yH9BgopLpLmOI0wic5x8 P7fXZ12b/Pw3tXDJSTyz5f6RJ0JRbM5OaMGHI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=rQzy+oxpk3/5TvWHwXdnKiH9LYvhS8SCLPE4tZiHOpjr9eJVA3zYgUgEKWGNrCJ+ul nonteNh0eDQuGzvAzVBVWW/6hd1mc/XOSIYbCTJiAViSsq1MMi4FpSZUtwZz41Kqpnz8 Stxtr9HRxRS8xqUHfSjorr6glXwC6TAJu0aHg= Received: by 10.223.15.133 with SMTP id k5mr46653faa.39.1269480958991; Wed, 24 Mar 2010 18:35:58 -0700 (PDT) Received: from [192.168.1.152] (pd95b71bc.dip0.t-ipconnect.de [217.91.113.188]) by mx.google.com with ESMTPS id y15sm1263420fkd.8.2010.03.24.18.35.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Mar 2010 18:35:58 -0700 (PDT) Subject: [PATCH] pwc Kconfig dependency fix From: Christoph Fritz To: linux-media@vger.kernel.org Cc: Luc Saillard , Pham Thanh Nam , Mauro Carvalho Chehab Date: Thu, 25 Mar 2010 02:40:41 +0100 Message-Id: <1269481241.3855.5.camel@lovely> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 25 Mar 2010 01:36:12 +0000 (UTC) diff --git a/drivers/media/video/pwc/Kconfig b/drivers/media/video/pwc/Kconfig index 340f954..11980db 100644 --- a/drivers/media/video/pwc/Kconfig +++ b/drivers/media/video/pwc/Kconfig @@ -39,7 +39,7 @@ config USB_PWC_DEBUG config USB_PWC_INPUT_EVDEV bool "USB Philips Cameras input events device support" default y - depends on USB_PWC=INPUT || INPUT=y + depends on USB_PWC && (USB_PWC=INPUT || INPUT=y) ---help--- This option makes USB Philips cameras register the snapshot button as an input device to report button events.