summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-algo-bit.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2019-01-19 13:16:53 +0100
committerWolfram Sang <wsa@the-dreams.de>2019-02-05 14:05:03 +0100
commit2292822e1576c89191a65c3d0da584d75d3c033f (patch)
treea2e42e4c5d178dbe6566891ec0db2b9c42e260a3 /include/linux/i2c-algo-bit.h
parentcac28ac2a87c38a026d6d7601b06fe16f41ed751 (diff)
downloadlinux-2292822e1576c89191a65c3d0da584d75d3c033f.tar.gz
linux-2292822e1576c89191a65c3d0da584d75d3c033f.tar.bz2
linux-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 <wsa+renesas@sang-engineering.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c-algo-bit.h')
-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