Missing the constructor attribute Signed-off-by: Roi Dayan <roid@xxxxxxxxxxxx> --- usr/bs_aio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/usr/bs_aio.c b/usr/bs_aio.c index 32ceec5..1f46a2a 100644 --- a/usr/bs_aio.c +++ b/usr/bs_aio.c @@ -414,7 +414,7 @@ static struct backingstore_template aio_bst = { .bs_cmd_submit = bs_aio_cmd_submit, }; -void register_bs_module(void) +__attribute__((constructor)) static void register_bs_module(void) { register_backingstore_template(&aio_bst); } -- 1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html