projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: Do away with the notion of hardsect_size
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
block
/
mg_disk.c
diff --git
a/drivers/block/mg_disk.c
b/drivers/block/mg_disk.c
index c0cd0a03f698590083759952b33a84bb3bba2c66..60de5a01e71e6ecd67b15eee29fef7d567265872 100644
(file)
--- a/
drivers/block/mg_disk.c
+++ b/
drivers/block/mg_disk.c
@@
-996,7
+996,7
@@
static int mg_probe(struct platform_device *plat_dev)
goto probe_err_6;
}
blk_queue_max_sectors(host->breq, MG_MAX_SECTS);
- blk_queue_
hardsect
_size(host->breq, MG_SECTOR_SIZE);
+ blk_queue_
logical_block
_size(host->breq, MG_SECTOR_SIZE);
init_timer(&host->timer);
host->timer.function = mg_times_out;