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: 3991c5c80b ("i2c: Switch to using gpiod interface for gpio bus recovery")
Signed-off-by: Phil Reid <preid@electromag.com.au>
Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
Phil Reid 2017-11-28 11:09:10 +08:00 committed by Wolfram Sang
parent 4ed152c4da
commit 10c9ef045a
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
#include <linux/i2c.h>
#include <linux/i2c-smbus.h>
#include <linux/idr.h>