From d38a8c0c19e9b76342639f107a755deb849b543d Mon Sep 17 00:00:00 2001 From: Shashank Babu Chinta Venkata Date: Wed, 8 Sep 2021 09:33:53 -0700 Subject: [PATCH] disp: msm: dsi: mark signature for stub appropriately DSI parser utils are enabled through kernel config CONFIG_DSI_PARSER. The stubs for disabled case do not have appropriate storage class. This change alters the stubs to be static inline which is appropriate storage class. Change-Id: I692b792cc3e8a8340245ee5f356e1f6281276a59 Signed-off-by: Shashank Babu Chinta Venkata --- msm/dsi/dsi_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/dsi/dsi_parser.h b/msm/dsi/dsi_parser.h index 7b7a251338..bdb93b80a9 100644 --- a/msm/dsi/dsi_parser.h +++ b/msm/dsi/dsi_parser.h @@ -92,7 +92,7 @@ static inline int dsi_parser_read_u32(const struct device_node *np, return -ENODEV; } -int dsi_parser_read_u32_index(const struct device_node *np, +static inline int dsi_parser_read_u32_index(const struct device_node *np, const char *propname, u32 index, u32 *out_value) { return -ENODEV;