Staging: pohmelfs: Storage class should be before const qualifier
authorTobias Klauser <tklauser@distanz.ch>
Sun, 26 Apr 2009 13:06:09 +0000 (15:06 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:39 +0000 (11:00 -0700)
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>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/pohmelfs/inode.c

index 882c619c01d06ea031fde5423a36a911b2173da1..7b605795b770a64e911f845e77d9eb306149c260 100644 (file)
@@ -943,7 +943,7 @@ err_out_unlock:
        return ret;
 }
 
-const static struct file_operations pohmelfs_file_ops = {
+static const struct file_operations pohmelfs_file_ops = {
        .open           = generic_file_open,
        .fsync          = pohmelfs_fsync,