i2c: core: Export bus recovery functions
authorMark Brown <broonie@kernel.org>
Wed, 15 Apr 2015 18:18:39 +0000 (19:18 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 15 Apr 2015 19:02:07 +0000 (21:02 +0200)
commitc1c21f4e60ed4523292f1a89ff45a208bddd3849
tree0aab70f8096b81658d799dff7fe441cd58a1b62f
parentc7f94520e988c9313c09e2768874c99d3b062dcc
i2c: core: Export bus recovery functions

Current -next fails to link an ARM allmodconfig because drivers that use
the core recovery functions can be built as modules but those functions
are not exported:

ERROR: "i2c_generic_gpio_recovery" [drivers/i2c/busses/i2c-davinci.ko] undefined!
ERROR: "i2c_generic_scl_recovery" [drivers/i2c/busses/i2c-davinci.ko] undefined!
ERROR: "i2c_recover_bus" [drivers/i2c/busses/i2c-davinci.ko] undefined!

Add exports to fix this.

Fixes: 5f9296ba21b3c (i2c: Add bus recovery infrastructure)
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c