]> git.baikalelectronics.ru Git - kernel.git/commit
tpm_tis: make ilb_base_addr static
authorColin Ian King <colin.king@canonical.com>
Tue, 20 Jun 2017 10:22:02 +0000 (11:22 +0100)
committerJames Morris <james.l.morris@oracle.com>
Thu, 6 Jul 2017 23:49:25 +0000 (09:49 +1000)
commitbc397085ca975d685c7a0b3a2984932eea4f6af0
tree7d10e1561cd8760f2578343c1296a406c76d09e0
parent19cbe4f680b48f950246815b891a66eeb67f7410
tpm_tis: make ilb_base_addr static

The pointer ilb_base_addr does not need to be in global scope, so make
it static.

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
drivers/char/tpm/tpm_tis.c