From 2cde93c79053d9add53741b8e119cc9e238ce3c4 Mon Sep 17 00:00:00 2001 From: Pradeep P V K Date: Mon, 4 Nov 2019 16:08:44 +0530 Subject: [PATCH] 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 (cherry picked from commit da1defc781fdbf66a12ff8dbb1926d5fc507521e) [willmcvicker: only cherry-picked the ABI diff] Signed-off-by: Will McVicker --- include/linux/elevator.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/elevator.h b/include/linux/elevator.h index a2bf4a6b9316..d10cc2971658 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h @@ -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)