diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2009-02-09 22:01:08 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-03-30 15:22:02 +0200 |
commit | 27157a70246c802a5e31996fdc75c7f2a1e548e3 (patch) | |
tree | 49dc45c5957f55c2fb3c2d7c160366da1fbad407 /drivers/char/bsr.c | |
parent | b04f376151d17cb7cad48c932ba516622c167b44 (diff) | |
download | linux-stable-27157a70246c802a5e31996fdc75c7f2a1e548e3.tar.gz linux-stable-27157a70246c802a5e31996fdc75c7f2a1e548e3.tar.bz2 linux-stable-27157a70246c802a5e31996fdc75c7f2a1e548e3.zip |
trivial: drivers/char/bsr.c: Storage class should be before const qualifier
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>
Diffstat (limited to 'drivers/char/bsr.c')
-rw-r--r-- | drivers/char/bsr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index f6094ae0ef33..140ea10ecb88 100644 --- a/drivers/char/bsr.c +++ b/drivers/char/bsr.c @@ -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, |