Ver código fonte

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 <[email protected]>
Shashank Babu Chinta Venkata 3 anos atrás
pai
commit
d38a8c0c19
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      msm/dsi/dsi_parser.h

+ 1 - 1
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;