Commit 10c9ef04 authored by Phil Reid's avatar Phil Reid Committed by Wolfram Sang

i2c: core: fix compile issue related to incorrect gpio header

The correct header to include for the gpiod interface is
<linux/gpio/consumer.h>.

Fixes: 3991c5c8 ("i2c: Switch to using gpiod interface for gpio bus recovery")
Signed-off-by: default avatarPhil Reid <preid@electromag.com.au>
Reviewed-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 4ed152c4
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/err.h> #include <linux/err.h>
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/gpio.h> #include <linux/gpio/consumer.h>
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-smbus.h> #include <linux/i2c-smbus.h>
#include <linux/idr.h> #include <linux/idr.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment