]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: test: make array pdev static
authorColin Ian King <colin.king@canonical.com>
Sun, 24 Jun 2018 10:38:03 +0000 (11:38 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 12 Jul 2018 18:16:10 +0000 (20:16 +0200)
commit93a3718d69c5bfc77a0e2c0cbdcd4d2901e8624a
tree6b1df52bbc8648ad026db8605fe619084d6836e8
parent56d03b76f913fe4c0c637d0bfded2188c254cfa5
rtc: test: make array pdev static

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

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-test.c