]> asedeno.scripts.mit.edu Git - linux.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)
commit4d67c2e7f60dbf5a3cf65f6773c73e12970b0fe0
tree3f1802c9930de59d0ac8eedb82f9e10e2c0bd6db
parent10c9ef045a7e19e9fd4c829c7321f9d2048808c0
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: a34a0b6da22540d19e57 ("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