Skip to content

Commit

Permalink
drivers: vendor/techpack: fix build errors for clang-15
Browse files Browse the repository at this point in the history
Signed-off-by: engstk <[email protected]>
  • Loading branch information
engstk committed Dec 15, 2022
1 parent 24c4af6 commit 570c6d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/fts_touch/fts_lib/ftsIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ struct device *getDev(void)
* slave
* @return client if it was previously set or NULL in all the other cases
*/
struct i2c_client *getClient()
struct i2c_client *getClient(void)
{
if (client != NULL)
return (struct i2c_client *)client;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/qca-wifi-host-cmn/hif/src/ce/ce_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -2739,7 +2739,7 @@ struct ce_ops ce_service_legacy = {
};


struct ce_ops *ce_services_legacy()
struct ce_ops *ce_services_legacy(void)
{
return &ce_service_legacy;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

static struct target_if_ctx *g_target_if_ctx;

struct target_if_ctx *target_if_get_ctx()
struct target_if_ctx *target_if_get_ctx(void)
{
return g_target_if_ctx;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/qca-wifi-host-cmn/wlan_cfg/wlan_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ struct wlan_cfg_dp_pdev_ctxt {
*
* Return: wlan_cfg_ctx - Handle to Configuration context
*/
struct wlan_cfg_dp_soc_ctxt *wlan_cfg_soc_attach()
struct wlan_cfg_dp_soc_ctxt *wlan_cfg_soc_attach(void)
{
int i = 0;

Expand Down
2 changes: 1 addition & 1 deletion techpack/data/drivers/rmnet/perf/rmnet_perf_opt.c
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ void rmnet_perf_opt_insert_pkt_in_flow(
flow_node->next_seq += payload_len;
}
void
rmnet_perf_free_hash_table()
rmnet_perf_free_hash_table(void)
{
int i;
struct rmnet_perf_opt_flow_node *flow_node;
Expand Down

0 comments on commit 570c6d2

Please sign in to comment.