]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
trivial: drivers/char/bsr.c: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Mon, 9 Feb 2009 21:01:08 +0000 (22:01 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Mar 2009 13:22:02 +0000 (15:22 +0200)
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>
drivers/char/bsr.c

index f6094ae0ef334f622ec80f48bd559cae243ebcae..140ea10ecb886e276c8a6ba53d112cdf06d96499 100644 (file)
@@ -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,