msm-4.19: Compilation fix for SDLLVM toolchain 16.0

Fix -Wstrict-prototypes flag related error

Change-Id: If2575d0e1671a0687baa84a24378778185eba014
Signed-off-by: Himanshu Agrawal <quic_c_hagraw@quicinc.com>
This commit is contained in:
Himanshu Agrawal authored and Gerrit - the friendly Code Review server committed 2023-05-18 00:45:04 -07:00
1 parent 7a5136811d
commit ea2bce2cdd
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -82,7 +82,7 @@ int openChannel(struct i2c_client *clt)
return OK;
}
struct device *getDev()
struct device *getDev(void)
{
if (client != NULL)
return &(client->dev);
@@ -90,7 +90,7 @@ struct device *getDev()
return NULL;
}
struct i2c_client *getClient()
struct i2c_client *getClient(void)
{
if (client != NULL)
return client;
@@ -92,7 +92,7 @@ int elapsedNanosecond(struct StopWatch *w)
return result;
}
char *timestamp()
char *timestamp(void)
{
char *result = NULL;
+1 -1
View File
@@ -4868,7 +4868,7 @@ struct mdss_panel_cfg *mdss_panel_intf_type(int intf_val)
}
EXPORT_SYMBOL(mdss_panel_intf_type);
struct irq_info *mdss_intr_line()
struct irq_info *mdss_intr_line(void)
{
return mdss_mdp_hw.irq_info;
}
+1 -1
View File
@@ -223,7 +223,7 @@ struct mdss_util_intf mdss_util = {
.mdp_probe_done = false
};
struct mdss_util_intf *mdss_get_util_intf()
struct mdss_util_intf *mdss_get_util_intf(void)
{
return &mdss_util;
}