Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fd1c260 authored by Marco Felsch's avatar Marco Felsch Committed by Jonathan Cameron
Browse files

iio: light: add missing vcnl4040 of_compatible



Commit 5a441aad ("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: default avatarMarco Felsch <m.felsch@pengutronix.de>
Fixes: 5a441aad ("iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor")
Reviewed-by: default avatarAngus Ainslie (Purism) <angus@akkea.ca>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 1436a78c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -408,6 +408,10 @@ static const struct of_device_id vcnl_4000_of_match[] = {
		.compatible = "vishay,vcnl4020",
		.data = (void *)VCNL4010,
	},
	{
		.compatible = "vishay,vcnl4040",
		.data = (void *)VCNL4040,
	},
	{
		.compatible = "vishay,vcnl4200",
		.data = (void *)VCNL4200,