diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-09 03:57:48 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-08-14 06:42:02 -0400 |
commit | e45f1d1879650accd79a9a2b2bc1afed2aedc97c (patch) | |
tree | 491a7fb9f7038b5a76117a06857999daf6f20ef1 /drivers/crypto | |
parent | 75be45683d5ff3f859f9cb2082574f96f8fd768f (diff) |
crypto: sahara - Staticize local symbol
This local symbol is used only in this file.
Fix the following sparse warnings:
drivers/crypto/sahara.c:420:6: warning: symbol 'sahara_watchdog' was not declared. Should it be static?
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/sahara.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index c3dc1c04a5df..b076d8110785 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c | |||
@@ -417,7 +417,7 @@ static void sahara_aes_done_task(unsigned long data) | |||
417 | dev->req->base.complete(&dev->req->base, dev->error); | 417 | dev->req->base.complete(&dev->req->base, dev->error); |
418 | } | 418 | } |
419 | 419 | ||
420 | void sahara_watchdog(unsigned long data) | 420 | static void sahara_watchdog(unsigned long data) |
421 | { | 421 | { |
422 | struct sahara_dev *dev = (struct sahara_dev *)data; | 422 | struct sahara_dev *dev = (struct sahara_dev *)data; |
423 | unsigned int err = sahara_read(dev, SAHARA_REG_ERRSTATUS); | 423 | unsigned int err = sahara_read(dev, SAHARA_REG_ERRSTATUS); |