From: Onur Atilla <oati...@gmail.com> 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 <oati...@gmail.com> Signed-off-by: Andi Shyti <a...@etezian.org> --- 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/