소스 검색

qcacmn: Relocate wlan_spectral_register_rx_ops() kernel-doc

The kernel-doc script is reporting an issue with the documentation in
global_lmac_if/src/wlan_global_lmac_if.c. Fix this by relocating the
documentation for wlan_spectral_register_rx_ops() so that it is
adjacent to one of the function implementations.

Change-Id: I3e0ddeb92296f321252fa861f1b8573c531ac447
CRs-Fixed: 3414237
Jeff Johnson 2 년 전
부모
커밋
16b41427d4
1개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 7 7
      global_lmac_if/src/wlan_global_lmac_if.c

+ 7 - 7
global_lmac_if/src/wlan_global_lmac_if.c

@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. 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
@@ -38,12 +38,6 @@ QDF_STATUS (*wlan_global_lmac_if_tx_ops_register[MAX_DEV_TYPE])
  * and MCL
  */
 #ifdef WLAN_CONV_SPECTRAL_ENABLE
-/**
- * wlan_spectral_register_rx_ops() - Register spectral component RX OPS
- * @rx_ops: lmac if receive ops
- *
- * Return: None
- */
 #ifdef SPECTRAL_MODULIZED_ENABLE
 /* Function pointer for spectral rx_ops registration function */
 void (*wlan_lmac_if_sptrl_rx_ops)(struct wlan_lmac_if_rx_ops *rx_ops);
@@ -58,6 +52,12 @@ QDF_STATUS wlan_lmac_if_sptrl_set_rx_ops_register_cb(void (*handler)
 
 qdf_export_symbol(wlan_lmac_if_sptrl_set_rx_ops_register_cb);
 
+/**
+ * wlan_spectral_register_rx_ops() - Register spectral component RX OPS
+ * @rx_ops: lmac if receive ops
+ *
+ * Return: None
+ */
 static void wlan_spectral_register_rx_ops(struct wlan_lmac_if_rx_ops *rx_ops)
 {
 	wlan_lmac_if_sptrl_rx_ops(rx_ops);