]> 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)
commit4144456fb47e1f466f7abb60ea0aeb904b45f852
tree3f1802c9930de59d0ac8eedb82f9e10e2c0bd6db
parentdb4d2115a1a937aab3aa01b488c700012f0b3e50
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: c8c4d656142ba3615f09 ("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