]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: core: fix compile issue related to incorrect gpio header
authorPhil Reid <preid@electromag.com.au>
Tue, 28 Nov 2017 03:09:10 +0000 (11:09 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 28 Nov 2017 09:44:00 +0000 (10:44 +0100)
commitdb4d2115a1a937aab3aa01b488c700012f0b3e50
tree1b746de14e7c48a9f1e2608606f24e58dd123eaa
parent6cdbd701a5cad2d37249dd4a77fbde7a896df1b7
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: cc50ff06c6b386f8b ("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>
drivers/i2c/i2c-core-base.c