Message ID | 20221024111223.7142-2-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | bee1bc81d3abf5af7bc0e4a39e52f0c4f91d5d36 |
Headers | show |
Series | [1/3,v3] media: ov2640: Drop legacy includes | expand |
diff --git a/drivers/media/i2c/ov7670.c b/drivers/media/i2c/ov7670.c index 4b9b156b53c7..11d3bef65d43 100644 --- a/drivers/media/i2c/ov7670.c +++ b/drivers/media/i2c/ov7670.c @@ -15,7 +15,6 @@ #include <linux/i2c.h> #include <linux/delay.h> #include <linux/videodev2.h> -#include <linux/gpio.h> #include <linux/gpio/consumer.h> #include <media/v4l2-device.h> #include <media/v4l2-event.h>
The driver includes the legacy <linux/gpio.h> header but does not use any symbols from it. Drop the include. Cc: Jonathan Corbet <corbet@lwn.net> Cc: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- ChangeLog v2->v3: - Rebase on v6.1-rc1 ChangeLog v1->v2: - Rebase on v6.0-rc1 --- drivers/media/i2c/ov7670.c | 1 - 1 file changed, 1 deletion(-)