block: Make request_queue.rpm_status an enum
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 19 Aug 2020 12:34:03 +0000 (14:34 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Sep 2020 22:49:25 +0000 (16:49 -0600)
commitdb04e18dbb0146d3c753dc05f7233350375bbc48
tree196e3f949a717b300bd376c0e6ce65ba4a96f123
parenta98278ecfb96ad9c6561d3490159b17ee7668bed
block: Make request_queue.rpm_status an enum

request_queue.rpm_status is assigned values of the rpm_status enum only,
so reflect that in its type.

Note that including <linux/pm.h> is (currently) a no-op, as it is
already included through <linux/genhd.h> and <linux/device.h>, but it is
better to play it safe.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h