diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2019-09-17 16:56:37 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-09 19:11:28 +0100 |
commit | 7fd1c2606508eb384992251e87d50591393a48d0 (patch) | |
tree | 1d76133b1d7bb7f02234f1fb3481fece6f059e1e /drivers/iio | |
parent | 1436a78c63495dd94c8d4f84a76d78d5317d481b (diff) | |
download | linux-7fd1c2606508eb384992251e87d50591393a48d0.tar.gz linux-7fd1c2606508eb384992251e87d50591393a48d0.tar.bz2 linux-7fd1c2606508eb384992251e87d50591393a48d0.zip |
iio: light: add missing vcnl4040 of_compatible
Commit 5a441aade5b3 ("iio: light: vcnl4000 add support for the VCNL4040
proximity and light sensor") added the support for the vcnl4040 but
forgot to add the of_compatible. Fix this by adding it now.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Fixes: 5a441aade5b3 ("iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor")
Reviewed-by: Angus Ainslie (Purism) angus@akkea.ca
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/light/vcnl4000.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c index f522cb863e8c..16dacea9eadf 100644 --- a/drivers/iio/light/vcnl4000.c +++ b/drivers/iio/light/vcnl4000.c @@ -409,6 +409,10 @@ static const struct of_device_id vcnl_4000_of_match[] = { .data = (void *)VCNL4010, }, { + .compatible = "vishay,vcnl4040", + .data = (void *)VCNL4040, + }, + { .compatible = "vishay,vcnl4200", .data = (void *)VCNL4200, }, |