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
2023-05-18 12:06:08 +05:30
committed by Gerrit - the friendly Code Review server
parent 7a5136811d
commit ea2bce2cdd
4 changed files with 5 additions and 5 deletions

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;

View File

@ -92,7 +92,7 @@ int elapsedNanosecond(struct StopWatch *w)
return result;
}
char *timestamp()
char *timestamp(void)
{
char *result = NULL;

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

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