Re: [PATCH] pinctrl: sx150x: make struct sx150x_regmap_config static

From: Linus Walleij
Date: Mon Oct 09 2017 - 17:03:07 EST


On Thu, Oct 5, 2017 at 12:23 PM, Colin King <colin.king@xxxxxxxxxxxxx> wrote:

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij