]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drivers: gpio: amd-fch: make resource struct const
authorEnrico Weigelt <info@metux.net>
Mon, 17 Jun 2019 16:00:10 +0000 (18:00 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Jul 2019 08:10:32 +0000 (10:10 +0200)
commit87b70378f424df65465d5bfba2b8f233ee8b36e7
treeeb4f4c8af67d0c16e3a126f6008135387d92f73c
parent9dea44c91469512d346e638694c22c30a5273992
drivers: gpio: amd-fch: make resource struct const

The struct resource field is statically initialized
and may never change. Therefore make it const.

Signed-off-by: Enrico Weigelt <info@metux.net>
Link: https://lore.kernel.org/r/1560787211-15443-1-git-send-email-info@metux.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-amd-fch.c