i2c: algo-bit: include main i2c header
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 19 Jan 2019 12:16:53 +0000 (13:16 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 5 Feb 2019 13:05:03 +0000 (14:05 +0100)
We are using symbols from it, so we should include it directly. Found
after sorting includes in a driver.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
include/linux/i2c-algo-bit.h

index 63904ba..d64cebc 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef _LINUX_I2C_ALGO_BIT_H
 #define _LINUX_I2C_ALGO_BIT_H
 
+#include <linux/i2c.h>
+
 /* --- Defines for bit-adapters ---------------------------------------        */
 /*
  * This struct contains the hw-dependent functions of bit-style adapters to