Skip to content

Commit

Permalink
trivial: drivers/char/bsr.c: Storage class should be before const qua…
Browse files Browse the repository at this point in the history
…lifier

The C99 specification states in section 6.11.5:

The placement of a storage-class specifier other than at the
beginning of the declaration specifiers in a declaration is an
obsolescent feature.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Tobias Klauser authored and Jiri Kosina committed Mar 30, 2009
1 parent b04f376 commit 27157a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/bsr.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ static int bsr_open(struct inode * inode, struct file * filp)
return 0;
}

const static struct file_operations bsr_fops = {
static const struct file_operations bsr_fops = {
.owner = THIS_MODULE,
.mmap = bsr_mmap,
.open = bsr_open,
Expand Down

0 comments on commit 27157a7

Please sign in to comment.