Commit d21fed50 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jens Axboe

swim3: mark swim3_init() static

This is the module init function, which by definition is used only
locally, so mark it static to avoid a warning:

drivers/block/swim3.c:1280:5: error: no previous prototype for 'swim3_init' [-Werror=missing-prototypes]
Reviewed-by: default avatarJack Wang <jinpu.wang@ionos.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4eb44d10
......@@ -1277,7 +1277,7 @@ static struct macio_driver swim3_driver =
};
int swim3_init(void)
static int swim3_init(void)
{
macio_register_driver(&swim3_driver);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment