aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/DAC960.c3
-rw-r--r--drivers/block/aoe/aoechr.c1
-rw-r--r--drivers/block/paride/pg.c1
-rw-r--r--drivers/block/paride/pt.c1
-rw-r--r--drivers/block/pktcdvd.c1
5 files changed, 6 insertions, 1 deletions
diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c
index da0f6ddd7621..1f286ab461d3 100644
--- a/drivers/block/DAC960.c
+++ b/drivers/block/DAC960.c
@@ -7063,7 +7063,8 @@ static long DAC960_gam_ioctl(struct file *file, unsigned int Request,
7063 7063
7064static const struct file_operations DAC960_gam_fops = { 7064static const struct file_operations DAC960_gam_fops = {
7065 .owner = THIS_MODULE, 7065 .owner = THIS_MODULE,
7066 .unlocked_ioctl = DAC960_gam_ioctl 7066 .unlocked_ioctl = DAC960_gam_ioctl,
7067 .llseek = noop_llseek,
7067}; 7068};
7068 7069
7069static struct miscdevice DAC960_gam_dev = { 7070static struct miscdevice DAC960_gam_dev = {
diff --git a/drivers/block/aoe/aoechr.c b/drivers/block/aoe/aoechr.c
index 05d5ef172ca5..146296ca4965 100644
--- a/drivers/block/aoe/aoechr.c
+++ b/drivers/block/aoe/aoechr.c
@@ -266,6 +266,7 @@ static const struct file_operations aoe_fops = {
266 .open = aoechr_open, 266 .open = aoechr_open,
267 .release = aoechr_rel, 267 .release = aoechr_rel,
268 .owner = THIS_MODULE, 268 .owner = THIS_MODULE,
269 .llseek = noop_llseek,
269}; 270};
270 271
271static char *aoe_devnode(struct device *dev, mode_t *mode) 272static char *aoe_devnode(struct device *dev, mode_t *mode)
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c
index bed29cb9e6d9..6b9a2000d56a 100644
--- a/drivers/block/paride/pg.c
+++ b/drivers/block/paride/pg.c
@@ -235,6 +235,7 @@ static const struct file_operations pg_fops = {
235 .write = pg_write, 235 .write = pg_write,
236 .open = pg_open, 236 .open = pg_open,
237 .release = pg_release, 237 .release = pg_release,
238 .llseek = noop_llseek,
238}; 239};
239 240
240static void pg_init_units(void) 241static void pg_init_units(void)
diff --git a/drivers/block/paride/pt.c b/drivers/block/paride/pt.c
index e4dda282e0a6..7179f79d7468 100644
--- a/drivers/block/paride/pt.c
+++ b/drivers/block/paride/pt.c
@@ -240,6 +240,7 @@ static const struct file_operations pt_fops = {
240 .unlocked_ioctl = pt_ioctl, 240 .unlocked_ioctl = pt_ioctl,
241 .open = pt_open, 241 .open = pt_open,
242 .release = pt_release, 242 .release = pt_release,
243 .llseek = noop_llseek,
243}; 244};
244 245
245/* sysfs class support */ 246/* sysfs class support */
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index 044b84e6f147..ef58fccadad3 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -3046,6 +3046,7 @@ static const struct file_operations pkt_ctl_fops = {
3046 .compat_ioctl = pkt_ctl_compat_ioctl, 3046 .compat_ioctl = pkt_ctl_compat_ioctl,
3047#endif 3047#endif
3048 .owner = THIS_MODULE, 3048 .owner = THIS_MODULE,
3049 .llseek = no_llseek,
3049}; 3050};
3050 3051
3051static struct miscdevice pkt_misc = { 3052static struct miscdevice pkt_misc = {