ANDROID: GKI: bfq-iosched: update struct elevator_mq_ops ABI

Add the function pointer elevator_registered_fn to the struct
elevator_mq_ops to allow vendors use of this function.

Bug: 152659776
Test: compile
Change-Id: I9e55eee03917a1ab07fbd3f04635ca1a6541b860
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
(cherry picked from commit da1defc781fdbf66a12ff8dbb1926d5fc507521e)
[willmcvicker: only cherry-picked the ABI diff]
Signed-off-by: Will McVicker <willmcvicker@google.com>
This commit is contained in:
Pradeep P V K
2019-11-04 16:08:44 +05:30
committed by Will McVicker
parent 9298a1e640
commit 2cde93c790

View File

@@ -119,6 +119,7 @@ struct elevator_mq_ops {
struct request *(*next_request)(struct request_queue *, struct request *);
void (*init_icq)(struct io_cq *);
void (*exit_icq)(struct io_cq *);
void (*elevator_registered_fn)(struct request_queue *q);
};
#define ELV_NAME_MAX (16)