From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932783Ab0JEJnZ (ORCPT ); Tue, 5 Oct 2010 05:43:25 -0400 Received: from smtp.nokia.com ([192.100.122.233]:61916 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932421Ab0JEJnY (ORCPT ); Tue, 5 Oct 2010 05:43:24 -0400 From: Samu Onkalo To: linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] misc: update apds990x driver to Kconfig and Makefile Date: Tue, 5 Oct 2010 12:42:58 +0300 Message-Id: <1286271779-19819-5-git-send-email-samu.p.onkalo@nokia.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1286271779-19819-1-git-send-email-samu.p.onkalo@nokia.com> References: <1286271779-19819-1-git-send-email-samu.p.onkalo@nokia.com> X-OriginalArrivalTime: 05 Oct 2010 09:43:07.0636 (UTC) FILETIME=[B71C5340:01CB6471] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Compilation support for apds990x driver Signed-off-by: Samu Onkalo --- drivers/misc/Kconfig | 11 +++++++++++ drivers/misc/Makefile | 1 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index f2e8065..cc7c363 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -324,6 +324,17 @@ config SENSORS_BHSFH To compile this driver as a module, choose M here: the module will be called bhsfh. If unsure, say N here. +config SENSORS_APDS990X + tristate "APDS990X combined als and proximity sensors" + depends on I2C + default n + ---help--- + Say Y here if you want to build a driver for Avago APDS990x + combined ambient light and proximity sensor chip + + To compile this driver as a module, choose M here: the + module will be called apds990x. If unsure, say N here. + config HMC6352 tristate "Honeywell HMC6352 compass" depends on I2C diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index fd5a4b7..b90cea7 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -17,6 +17,7 @@ obj-$(CONFIG_TIFM_7XX1) += tifm_7xx1.o obj-$(CONFIG_PHANTOM) += phantom.o obj-$(CONFIG_SENSORS_BH1780) += bh1780gli.o obj-$(CONFIG_SENSORS_BHSFH) += bhsfh.o +obj-$(CONFIG_SENSORS_APDS990X) += apds990x.o obj-$(CONFIG_SGI_IOC4) += ioc4.o obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o obj-$(CONFIG_KGDB_TESTS) += kgdbts.o -- 1.6.0.4