ソースを参照

qcacmn: Add scn parameter to ol_txrx_soc_attach

Add an extra parameter scn in ol_txrx_soc_attach which is used
for calling pdev_attach. scn is a handle for each radio interface.

Change-Id: I6c4b1835d3a1c0b19724d62a67961bff4e296284
Nandha Kishore Easwaran 8 年 前
コミット
3f0bfc305e
1 ファイル変更3 行追加3 行削除
  1. 3 3
      dp/inc/cdp_txrx_cmn_reg.h

+ 3 - 3
dp/inc/cdp_txrx_cmn_reg.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -30,7 +30,7 @@
 #define LITHIUM_DP		0xfffe/*FIXME Add Litium device ID */
 /* Use these device IDs for attach in future */
 
-ol_txrx_soc_handle ol_txrx_soc_attach(struct ol_if_ops *dp_ol_if_ops);
+ol_txrx_soc_handle ol_txrx_soc_attach(void *scn_handle, struct ol_if_ops *dp_ol_if_ops);
 
 #ifdef QCA_WIFI_QCA8074
 void *dp_soc_attach_wifi3(void *osif_soc, void *hif_handle,
@@ -67,7 +67,7 @@ static inline ol_txrx_soc_handle cdp_soc_attach(u_int16_t devid,
 			qdf_dev, dp_ol_if_ops);
 	break;
 	default:
-		return ol_txrx_soc_attach(dp_ol_if_ops);
+		return ol_txrx_soc_attach(scn, dp_ol_if_ops);
 	}
 	return NULL;
 }