Skip to content

Commit 7fd1c26

Browse files
Marco Felschjic23
authored andcommitted
iio: light: add missing vcnl4040 of_compatible
Commit 5a441aa ("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 <[email protected]> Fixes: 5a441aa ("iio: light: vcnl4000 add support for the VCNL4040 proximity and light sensor") Reviewed-by: Angus Ainslie (Purism) [email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 1436a78 commit 7fd1c26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/iio/light/vcnl4000.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,10 @@ static const struct of_device_id vcnl_4000_of_match[] = {
408408
.compatible = "vishay,vcnl4020",
409409
.data = (void *)VCNL4010,
410410
},
411+
{
412+
.compatible = "vishay,vcnl4040",
413+
.data = (void *)VCNL4040,
414+
},
411415
{
412416
.compatible = "vishay,vcnl4200",
413417
.data = (void *)VCNL4200,

0 commit comments

Comments
 (0)