• Mark Brown's avatar
    i2c: core: Export bus recovery functions · 5d916df8
    Mark Brown authored
    commit c1c21f4e upstream.
    
    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: 5f9296ba (i2c: Add bus recovery infrastructure)
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
    Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
    5d916df8
i2c-core.c 68.1 KB