From 7d3e97fd97133419ed9cbc3cee857c638519501f Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Fri, 9 Jul 2010 11:10:29 +0200 Subject: sparse: add missing 'static' Signed-off-by: Nikos Mavrogiannopoulos --- cryptodev_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cryptodev_main.c') 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"); -- cgit