diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-07-09 11:10:29 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2010-07-19 09:27:09 +0200 |
commit | 7d3e97fd97133419ed9cbc3cee857c638519501f (patch) | |
tree | 2e4bfa35016d8bf9560b8a0d5e06d50026a7cf8f /cryptodev_main.c | |
parent | b52bc8426ca68d29e7ef36ecc947f8eaa4053bd7 (diff) | |
download | kernel-crypto-7d3e97fd97133419ed9cbc3cee857c638519501f.tar.gz kernel-crypto-7d3e97fd97133419ed9cbc3cee857c638519501f.tar.xz kernel-crypto-7d3e97fd97133419ed9cbc3cee857c638519501f.zip |
sparse: add missing 'static'
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'cryptodev_main.c')
-rw-r--r-- | cryptodev_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c index 957a5704357..0a23f9492cf 100644 --- a/cryptodev_main.c +++ b/cryptodev_main.c @@ -779,7 +779,7 @@ cryptodev_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg_) #endif /* CONFIG_COMPAT */ -struct file_operations cryptodev_fops = { +static struct file_operations cryptodev_fops = { .owner = THIS_MODULE, .open = cryptodev_open, .release = cryptodev_release, @@ -789,7 +789,7 @@ struct file_operations cryptodev_fops = { #endif /* CONFIG_COMPAT */ }; -struct miscdevice cryptodev = { +static struct miscdevice cryptodev = { .minor = MISC_DYNAMIC_MINOR, .name = "crypto", .fops = &cryptodev_fops, @@ -830,7 +830,7 @@ cryptodev_deregister(void) } /* ====== Module init/exit ====== */ -int __init init_cryptodev(void) +static int __init init_cryptodev(void) { int rc; @@ -843,7 +843,7 @@ int __init init_cryptodev(void) return 0; } -void __exit exit_cryptodev(void) +static void __exit exit_cryptodev(void) { cryptodev_deregister(); printk(KERN_INFO PFX "driver unloaded.\n"); |