Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
engstk committed Dec 15, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 24c4af6 commit 570c6d2
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
@@ -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;
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
@@ -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;
}
Original file line number Diff line number Diff line change
@@ -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;
}
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
@@ -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;

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

0 comments on commit 570c6d2

Please sign in to comment.