aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/pohmelfs
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-04-26 15:06:09 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:39 -0700
commit80fe3e5ddb7ad339810a744d3bbb6dc001404ee5 (patch)
treecf22657f3d5a47ea71b2c1fe6e4ea22b30ef4861 /drivers/staging/pohmelfs
parentStaging: pohmelfs: Remove braces around single statements (diff)
downloadlinux-dev-80fe3e5ddb7ad339810a744d3bbb6dc001404ee5.tar.xz
linux-dev-80fe3e5ddb7ad339810a744d3bbb6dc001404ee5.zip
Staging: pohmelfs: 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> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/pohmelfs')
-rw-r--r--drivers/staging/pohmelfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c
index 882c619c01d0..7b605795b770 100644
--- a/drivers/staging/pohmelfs/inode.c
+++ b/drivers/staging/pohmelfs/inode.c
@@ -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,