diff mbox series

[1/3] i2c: algo-bit: include main i2c header

Message ID 20190119121655.5576-2-wsa+renesas@sang-engineering.com
State Accepted
Headers show
Series [1/3] i2c: algo-bit: include main i2c header | expand

Commit Message

Wolfram Sang Jan. 19, 2019, 12:16 p.m. UTC
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>
---
 include/linux/i2c-algo-bit.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Simon Horman Jan. 23, 2019, 10:23 a.m. UTC | #1
On Sat, Jan 19, 2019 at 01:16:53PM +0100, Wolfram Sang wrote:
> 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>
diff mbox series

Patch

diff --git a/include/linux/i2c-algo-bit.h b/include/linux/i2c-algo-bit.h
index 63904ba6887e..d64cebc6e65a 100644
--- a/include/linux/i2c-algo-bit.h
+++ b/include/linux/i2c-algo-bit.h
@@ -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