aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2019-01-19 12:16:53 +0000
committerWolfram Sang <[email protected]>2019-02-05 13:05:03 +0000
commit2292822e1576c89191a65c3d0da584d75d3c033f (patch)
treea2e42e4c5d178dbe6566891ec0db2b9c42e260a3
parenti2c: iop3xx: Add device tree probing (diff)
downloadkernel-2292822e1576c89191a65c3d0da584d75d3c033f.tar.gz
kernel-2292822e1576c89191a65c3d0da584d75d3c033f.zip
i2c: algo-bit: include main i2c header
We are using symbols from it, so we should include it directly. Found after sorting includes in a driver. Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
-rw-r--r--include/linux/i2c-algo-bit.h2
1 files changed, 2 insertions, 0 deletions
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