diff options
| author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-05 13:13:03 -0400 | 
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-07-05 13:13:03 -0400 | 
| commit | 5e66dd6d66ffe758b39b6dcadf2330753ee1159b (patch) | |
| tree | a72cdcff4448e4af9425cc213ddf56ab23e697fe /drivers/char/misc.c | |
| parent | 026477c1141b67e98e3bd8bdedb7d4b88a3ecd09 (diff) | |
| parent | ca78f6baca863afe2e6a244a0fe94b3a70211d46 (diff) | |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/
Diffstat (limited to 'drivers/char/misc.c')
| -rw-r--r-- | drivers/char/misc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/drivers/char/misc.c b/drivers/char/misc.c index d5fa19da330b..62ebe09656e3 100644 --- a/drivers/char/misc.c +++ b/drivers/char/misc.c @@ -113,7 +113,7 @@ static int misc_seq_open(struct inode *inode, struct file *file)  	return seq_open(file, &misc_seq_ops);  } -static struct file_operations misc_proc_fops = { +static const struct file_operations misc_proc_fops = {  	.owner	 = THIS_MODULE,  	.open    = misc_seq_open,  	.read    = seq_read, @@ -176,7 +176,7 @@ fail:   */  static struct class *misc_class; -static struct file_operations misc_fops = { +static const struct file_operations misc_fops = {  	.owner		= THIS_MODULE,  	.open		= misc_open,  }; | 
