Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759145Ab3FMSaK (ORCPT ); Thu, 13 Jun 2013 14:30:10 -0400 Received: from etezian.org ([198.101.225.253]:56459 "EHLO mail.etezian.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758954Ab3FMS3A (ORCPT ); Thu, 13 Jun 2013 14:29:00 -0400 From: Andi Shyti To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, pc@asdf.org, oatilla@gmail.com, andi@etezian.org Subject: [PATCH 02/19] bh1770glc: different glass attenuation parameters Date: Thu, 13 Jun 2013 20:20:36 +0200 Message-Id: X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1076 Lines: 33 From: Onur Atilla The Ambient Light Sensor (ALS) glass attenuation parameter should be configurable and two new parameters are introduced: als_scf_BH1770 and als_scf_SFH7770. Signed-off-by: Onur Atilla Signed-off-by: Andi Shyti --- include/linux/i2c/bh1770glc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/i2c/bh1770glc.h b/include/linux/i2c/bh1770glc.h index 8b5e2df..a08060a 100644 --- a/include/linux/i2c/bh1770glc.h +++ b/include/linux/i2c/bh1770glc.h @@ -47,6 +47,8 @@ struct bh1770_platform_data { __u8 led_def_curr; #define BH1770_NEUTRAL_GA 16384 /* 16384 / 16384 = 1 */ __u32 glass_attenuation; + __u32 als_scf_BH1770; + __u32 als_scf_SFH7770; int (*setup_resources)(void); int (*release_resources)(void); }; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/