From: Tobias Klauser Date: Sun, 26 Apr 2009 13:06:09 +0000 (+0200) Subject: Staging: pohmelfs: Storage class should be before const qualifier X-Git-Tag: v2.6.31-rc1~105^2~182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80fe3e5ddb7ad339810a744d3bbb6dc001404ee5;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/pohmelfs/inode.c b/drivers/staging/pohmelfs/inode.c index 882c619..7b60579 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,