|
@@ -5341,7 +5341,15 @@ static struct cdp_ops ol_txrx_ops = {
|
|
|
.pmf_ops = &ol_ops_pmf
|
|
|
};
|
|
|
|
|
|
-struct cdp_soc_t *ol_txrx_soc_attach(void *scn_handle, struct ol_if_ops *dp_ol_if_ops)
|
|
|
+/*
|
|
|
+ * Local prototype added to temporarily address warning caused by
|
|
|
+ * -Wmissing-prototypes. A more correct solution, namely to expose
|
|
|
+ * a prototype in an appropriate header file, will come later.
|
|
|
+ */
|
|
|
+struct cdp_soc_t *ol_txrx_soc_attach(void *scn_handle,
|
|
|
+ struct ol_if_ops *dp_ol_if_ops);
|
|
|
+struct cdp_soc_t *ol_txrx_soc_attach(void *scn_handle,
|
|
|
+ struct ol_if_ops *dp_ol_if_ops)
|
|
|
{
|
|
|
struct cdp_soc_t *soc = qdf_mem_malloc(sizeof(struct cdp_soc_t));
|
|
|
if (!soc) {
|