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 <sbchin@codeaurora.org>
This commit is contained in:
Shashank Babu Chinta Venkata
2021-09-08 09:33:53 -07:00
parent f04eb4120c
commit d38a8c0c19

View File

@@ -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;