crypto: sahara - Staticize local symbol
authorJingoo Han <jg1.han@samsung.com>
Fri, 9 Aug 2013 07:57:48 +0000 (16:57 +0900)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Aug 2013 10:42:02 +0000 (20:42 +1000)
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>
drivers/crypto/sahara.c

index c3dc1c0..b076d81 100644 (file)
@@ -417,7 +417,7 @@ static void sahara_aes_done_task(unsigned long data)
        dev->req->base.complete(&dev->req->base, dev->error);
 }
 
-void sahara_watchdog(unsigned long data)
+static void sahara_watchdog(unsigned long data)
 {
        struct sahara_dev *dev = (struct sahara_dev *)data;
        unsigned int err = sahara_read(dev, SAHARA_REG_ERRSTATUS);