Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27157a70 authored by Tobias Klauser's avatar Tobias Klauser Committed by Jiri Kosina
Browse files

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: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent b04f3761
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,