diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2018-03-20 23:54:38 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-03-24 16:07:23 +0300 |
commit | 398432eddea4197880a067718e2711d3f5f11d18 (patch) | |
tree | f93780885209532bf9f06c17c9ac8df39928a621 /drivers/i2c/i2c-core.h | |
parent | a1de3253a8840bf373e7c6330f21b7807c6c0536 (diff) | |
download | linux-398432eddea4197880a067718e2711d3f5f11d18.tar.xz |
i2c: make i2c_check_addr_validity() static
After previous refactoring, there is only one user in the same file
left. Make the function static now.
[wsa: added 'int' to bare 'unsigned']
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-core.h')
-rw-r--r-- | drivers/i2c/i2c-core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/i2c-core.h b/drivers/i2c/i2c-core.h index 3d3d9bf02101..37576f50fe20 100644 --- a/drivers/i2c/i2c-core.h +++ b/drivers/i2c/i2c-core.h @@ -27,7 +27,6 @@ extern struct rw_semaphore __i2c_board_lock; extern struct list_head __i2c_board_list; extern int __i2c_first_dynamic_bus_num; -int i2c_check_addr_validity(unsigned addr, unsigned short flags); int i2c_check_7bit_addr_validity_strict(unsigned short addr); #ifdef CONFIG_ACPI |