OSDN Git Service

pinctrl: sx150x: make struct sx150x_regmap_config static
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Oct 2017 10:23:56 +0000 (11:23 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Oct 2017 21:02:36 +0000 (23:02 +0200)
commit1356d86ff149c2fb4f81d906933158d948baf8e7
treec1dead560bfe3c060af78281bfb89996fb4f5e70
parent161ef8b34dd556b1b635de8217f84f6d8ea94990
pinctrl: sx150x: make struct sx150x_regmap_config static

The structure sx150x_regmap_config is local to the source and does not
need to be in global scope, so make it static.

Cleans up sparse warning:
symbol 'sx150x_regmap_config' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sx150x.c