提交 10c9ef04 编写于 作者: P Phil Reid 提交者: 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: NPhil Reid <preid@electromag.com.au>
Reviewed-by: NJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
上级 4ed152c4
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册