mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
trivial: drivers/char/bsr.c: 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> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
b04f376151
commit
27157a7024
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user