summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-core.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-23 12:14:17 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-05-31 22:01:03 +0300
commite4991ecdc6b8ad2b21f3d6e90ef826b8871103a2 (patch)
tree19ef583bcff158034a85e8233aac43364eca9d89 /drivers/i2c/i2c-core.h
parent91ed53491f4fa31879e0965a7e920dc10f78996c (diff)
downloadlinux-e4991ecdc6b8ad2b21f3d6e90ef826b8871103a2.tar.xz
i2c: break out slave support into separate file
Also removes some ifdeffery. Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core.h')
-rw-r--r--drivers/i2c/i2c-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/i2c-core.h b/drivers/i2c/i2c-core.h
index 17700bfddcf5..77c22b03ff95 100644
--- a/drivers/i2c/i2c-core.h
+++ b/drivers/i2c/i2c-core.h
@@ -27,3 +27,4 @@ extern struct rw_semaphore __i2c_board_lock;
extern struct list_head __i2c_board_list;
extern int __i2c_first_dynamic_bus_num;
+int i2c_check_7bit_addr_validity_strict(unsigned short addr);