diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk.h | 3 | ||||
-rw-r--r-- | block/elevator.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/block/blk.h b/block/blk.h index 521ea46b6e96..b2c287c2c6a3 100644 --- a/block/blk.h +++ b/block/blk.h @@ -204,9 +204,6 @@ static inline void elv_deactivate_rq(struct request_queue *q, struct request *rq e->type->ops.sq.elevator_deactivate_req_fn(q, rq); } -int elv_register_queue(struct request_queue *q); -void elv_unregister_queue(struct request_queue *q); - struct hd_struct *__disk_get_part(struct gendisk *disk, int partno); #ifdef CONFIG_FAIL_IO_TIMEOUT diff --git a/block/elevator.c b/block/elevator.c index d39315efd510..39d0c6d27916 100644 --- a/block/elevator.c +++ b/block/elevator.c @@ -878,6 +878,7 @@ int elv_register_queue(struct request_queue *q) } return error; } +EXPORT_SYMBOL(elv_register_queue); void elv_unregister_queue(struct request_queue *q) { @@ -893,6 +894,7 @@ void elv_unregister_queue(struct request_queue *q) wbt_enable_default(q); } } +EXPORT_SYMBOL(elv_unregister_queue); int elv_register(struct elevator_type *e) { |