Commit 80fe3e5d authored by Tobias Klauser's avatar Tobias Klauser Committed by Greg Kroah-Hartman

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: default avatarTobias Klauser <tklauser@distanz.ch>
Acked-by: default avatarEvgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent dc828461
......@@ -943,7 +943,7 @@ ssize_t pohmelfs_write(struct file *file, const char __user *buf,
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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment