mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-04-03 22:24:53 +00:00
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:
committed by
Gerrit - the friendly Code Review server
parent
7a5136811d
commit
ea2bce2cdd
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user