summaryrefslogtreecommitdiffstats
path: root/drivers/char/bsr.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2009-02-09 22:01:08 +0100
committerJiri Kosina <jkosina@suse.cz>2009-03-30 15:22:02 +0200
commit27157a70246c802a5e31996fdc75c7f2a1e548e3 (patch)
tree49dc45c5957f55c2fb3c2d7c160366da1fbad407 /drivers/char/bsr.c
parentb04f376151d17cb7cad48c932ba516622c167b44 (diff)
downloadop-kernel-dev-27157a70246c802a5e31996fdc75c7f2a1e548e3.zip
op-kernel-dev-27157a70246c802a5e31996fdc75c7f2a1e548e3.tar.gz
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>
Diffstat (limited to 'drivers/char/bsr.c')
-rw-r--r--drivers/char/bsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c
index f6094ae..140ea10 100644
--- a/drivers/char/bsr.c
+++ b/drivers/char/bsr.c
@@ -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,
OpenPOWER on IntegriCloud