diff options
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/block/genhd.c b/block/genhd.c index b301fad..de7fc3e 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -916,7 +916,11 @@ static int __init genhd_device_init(void) return 0; } +#ifdef CONFIG_FAST_RESUME +beforeresume_initcall(genhd_device_init); +#else subsys_initcall(genhd_device_init); +#endif static ssize_t disk_range_show(struct device *dev, struct device_attribute *attr, char *buf) |