Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
media: ov7670: Drop unused include
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
  • Loading branch information
linusw authored and Sakari Ailus committed Oct 27, 2022
1 parent 88b18db commit bee1bc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/i2c/ov7670.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bee1bc8

Please sign in to comment.