git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
const: make block_device_operations const
[pandora-kernel.git]
/
drivers
/
block
/
hd.c
diff --git
a/drivers/block/hd.c
b/drivers/block/hd.c
index
f9d0160
..
d5cdce0
100644
(file)
--- a/
drivers/block/hd.c
+++ b/
drivers/block/hd.c
@@
-692,7
+692,7
@@
static irqreturn_t hd_interrupt(int irq, void *dev_id)
return IRQ_HANDLED;
}
-static struct block_device_operations hd_fops = {
+static
const
struct block_device_operations hd_fops = {
.getgeo = hd_getgeo,
};