Skip to content

Commit e140881

Browse files
dereference23techyguyperplexable
authored andcommitted
staging: qcacld-3.0: Fix multiple build errors (IPA & nlink)
Change-Id: Iefb708bfd5f4b512c70fb5cde6f2bebd82fcf34f
1 parent 99d60f4 commit e140881

3 files changed

Lines changed: 4 additions & 10 deletions

File tree

drivers/staging/qca-wifi-host-cmn/utils/nlink/src/wlan_nlink_srv.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,6 @@ int nl_srv_unregister(tWlanNlModTypes msg_type, nl_srv_msg_callback msg_handler)
341341
return 0;
342342
}
343343

344-
void *nl80211hdr_put(struct sk_buff *skb, uint32_t portid,
345-
uint32_t seq, int flags, uint8_t cmd)
346-
{
347-
struct genl_family *cld80211_fam = cld80211_get_genl_family();
348-
349-
return genlmsg_put(skb, portid, seq, cld80211_fam, flags, cmd);
350-
}
351344

352345
/**
353346
* cld80211_fill_data() - API to fill payload to nl message

drivers/staging/qcacld-3.0/components/ipa/core/inc/wlan_ipa_main.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,12 +506,13 @@ void ipa_flush_pending_vdev_events(struct wlan_objmgr_pdev *pdev,
506506
uint8_t vdev_id);
507507

508508
/**
509-
* ipa_is_ready() - Is IPA register callback is invoked
509+
* qca_ipa_is_ready() - Is IPA register callback is invoked
510510
*
511511
* Return: true if IPA register callback is invoked or false
512512
* otherwise
513513
*/
514-
bool ipa_is_ready(void);
514+
bool qca_ipa_is_ready(void);
515+
#define ipa_is_ready qca_ipa_is_ready
515516

516517
/**
517518
* ipa_init_deinit_lock() - lock ipa init deinit lock

drivers/staging/qcacld-3.0/components/ipa/dispatcher/src/wlan_ipa_obj_mgmt_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
static bool g_ipa_is_ready;
3030
static qdf_mutex_t g_init_deinit_lock;
31-
bool ipa_is_ready(void)
31+
bool qca_ipa_is_ready(void)
3232
{
3333
return g_ipa_is_ready;
3434
}

0 commit comments

Comments
 (0)