]> git.baikalelectronics.ru Git - kernel.git/commit
Crypto: atmel-ecc: Make a couple of local functions static
authorColin Ian King <colin.king@canonical.com>
Wed, 19 Jul 2017 09:24:15 +0000 (10:24 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Aug 2017 05:47:19 +0000 (13:47 +0800)
commit22b7dab5904a8e21627c6a5a0f31a1296b114894
treebcbcf345d709f7b145f53b66eb97482e38c34bbc
parentfbd85533d3bce4f98e89657f42b60cd29d3ac8da
Crypto: atmel-ecc: Make a couple of local functions static

Functions atmel_ecc_i2c_client_alloc and atmel_ecc_i2c_client_free are
local to the source and no not need to be in the global scope. Make
them static.

Cleans up sparse warnings:
symbol 'atmel_ecc_i2c_client_alloc' was not declared. Should it be static?
symbol 'atmel_ecc_i2c_client_free' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-ecc.c