diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-01-12 18:03:21 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-01-13 13:47:16 +0300 |
commit | de0f96d7724f4ce3b48af10a0ea29150f6ddd5ba (patch) | |
tree | 66a48e5d276f7ff683bbbb270608465d542dc34b | |
parent | 21c8e72037fb163b87b101724438259bc7651975 (diff) | |
download | linux-de0f96d7724f4ce3b48af10a0ea29150f6ddd5ba.tar.xz |
crypto: mediatek - make symbol of_crypto_id static
Fixes the following sparse warning:
drivers/crypto/mediatek/mtk-platform.c:585:27: warning:
symbol 'of_crypto_id' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/mediatek/mtk-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/mediatek/mtk-platform.c b/drivers/crypto/mediatek/mtk-platform.c index 286296fbf15d..a9c713d4c733 100644 --- a/drivers/crypto/mediatek/mtk-platform.c +++ b/drivers/crypto/mediatek/mtk-platform.c @@ -582,7 +582,7 @@ static int mtk_crypto_remove(struct platform_device *pdev) return 0; } -const struct of_device_id of_crypto_id[] = { +static const struct of_device_id of_crypto_id[] = { { .compatible = "mediatek,eip97-crypto" }, {}, }; |