OSDN Git Service

media: i2c: isl7998x: Use right include
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 30 Aug 2022 21:11:10 +0000 (23:11 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 06:50:26 +0000 (08:50 +0200)
commitf001cc8dc16e966e9f0b1e91a5e9264b7da550b4
tree439778b46cf9b7768826589449c4409ecb8a03c1
parent479747caa5bfa94b856bf47249006e6c8aa8be37
media: i2c: isl7998x: Use right include

This driver is using GPIO descriptors but uses the legacy
include header <linux/gpio.h>. Fix it by including the
intended <linux/gpio/consumer.h>.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/isl7998x.c