i2c: sprd: Make I2C driver can be built as a module
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 25 Jul 2019 07:56:16 +0000 (15:56 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 6 Aug 2019 20:54:23 +0000 (22:54 +0200)
commit4d7802aa434a39921c699683c4ca2ad9068b0033
treeb83fc44e89cde0e57cb234c6463483f69b7cddfc
parent3e99834cc0c7f0612dc790ad7342f18c375d285b
i2c: sprd: Make I2C driver can be built as a module

Now there is no need to keep our I2C driver to be initialized so early,
thus changing to module level and let it can be built as a module,
meanwhile adding some module information.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-sprd.c