Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347181
b: refs/heads/master
c: 9329c5e
h: refs/heads/master
i:
  347179: d47809a
v: v3
  • Loading branch information
Ezequiel Garcia authored and Artem Bityutskiy committed Nov 21, 2012
1 parent 84a2f59 commit 74324b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 064a7694b5347208febeb7aba7c90d38934ec8a1
refs/heads/master: 9329c5eb5b087d6e6af905bd7e4f7eee13f9f7e5
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/mtd_blkdevs.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static int blktrans_ioctl(struct block_device *bdev, fmode_t mode,
return ret;
}

static const struct block_device_operations mtd_blktrans_ops = {
static const struct block_device_operations mtd_block_ops = {
.owner = THIS_MODULE,
.open = blktrans_open,
.release = blktrans_release,
Expand Down Expand Up @@ -401,7 +401,7 @@ int add_mtd_blktrans_dev(struct mtd_blktrans_dev *new)
gd->private_data = new;
gd->major = tr->major;
gd->first_minor = (new->devnum) << tr->part_bits;
gd->fops = &mtd_blktrans_ops;
gd->fops = &mtd_block_ops;

if (tr->part_bits)
if (new->devnum < 26)
Expand Down

0 comments on commit 74324b2

Please sign in to comment.