block: add __init to elv_register
authorFabian Frederick <fabf@skynet.be>
Tue, 10 Jun 2014 18:04:50 +0000 (20:04 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 10 Jun 2014 19:13:11 +0000 (13:13 -0600)
commitb5097e956a4d2919ee248d6481e4204c5568ed5c
treecbe963a2fdac6835e79079165de6d9044cb351bb
parent58a4915ad2f8a87f4456aac260396df7e300e6f2
block: add __init to elv_register

elv_register is only called by elevator init functions:

__init cfq_init
__init deadline_init
__init noop_init

Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/elevator.c
include/linux/elevator.h