]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: designware: fix building driver as module
authorPhil Reid <preid@electromag.com.au>
Tue, 28 Nov 2017 03:09:11 +0000 (11:09 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 28 Nov 2017 09:44:19 +0000 (10:44 +0100)
commit0285cdfb27ecea830d3c9fcf5ddff5f48bceb3d4
tree3f1802c9930de59d0ac8eedb82f9e10e2c0bd6db
parent19b70994fa47de2b9e229a71979262c5e23977c6
i2c: designware: fix building driver as module

The designware core and platform are built as separate modules.
Export i2c_dw_prepare_clk() so it can be used by the platform
driver.

Fixes: 5e20df99a467c8749b59 ("i2c: designware: move i2c_dw_plat_prepare_clk to common")
Signed-off-by: Phil Reid <preid@electromag.com.au>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-common.c