]> git.baikalelectronics.ru Git - kernel.git/commit
w1: ds2482: make module parameter extra_config static
authorColin Ian King <colin.king@canonical.com>
Thu, 21 Jun 2018 17:08:06 +0000 (18:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 11:01:48 +0000 (13:01 +0200)
commit3e6f5277f58fd8057a14dbabc469278a2f95c1b9
treed4e2ec2b6d875055a566303c2ff9bfa11c29c123
parent794676aade74ee23023e5fefc38aa95db3fca1a5
w1: ds2482: make module parameter extra_config static

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

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/masters/ds2482.c