]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commitdiff
remoteproc: zynqmp_r5: Add missing param description
authorWendy Liang <wendy.liang@xilinx.com>
Wed, 5 Apr 2017 17:58:39 +0000 (10:58 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 29 May 2017 10:25:50 +0000 (12:25 +0200)
fix kernel-doc warning on no description fo parameter.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/remoteproc/zynqmp_r5_remoteproc.c

index 3a1dd07165db76d78353d469f6ef6d4fcf5ac945..4d58d46dbb6e4bfd54ef34c9ddd8ca0c8249aed7 100644 (file)
@@ -121,14 +121,18 @@ struct mem_pool_st {
  * struct zynqmp_r5_rproc_pdata - zynqmp rpu remote processor instance state
  * @rproc: rproc handle
  * @fw_ops: local firmware operations
- * @defaulta_fw_ops: default rproc firmware operations
+ * @default_fw_ops: default rproc firmware operations
  * @workqueue: workqueue for the RPU remoteproc
  * @rpu_base: virt ptr to RPU control address registers
+ * @rpu_glbl_base: virt ptr to RPU global control address registers
  * @ipi_base: virt ptr to IPI channel address registers for APU
  * @rpu_mode: RPU core configuration
  * @rpu_id: RPU CPU id
  * @rpu_pd_id: RPU CPU power domain id
  * @bootmem: RPU boot memory device used
+ * @mem_pools: list of gen_pool for firmware mmio_sram memory and their
+ *             power domain IDs
+ * @mems: list of rproc_mem_entries for firmware
  * @vring0: IRQ number used for vring0
  * @ipi_dest_mask: IPI destination mask for the IPI channel
  */
@@ -228,6 +232,8 @@ static bool r5_is_running(struct zynqmp_r5_rproc_pdata *pdata)
  * @pdata: platform data
  *
  * Request access to TCM
+ *
+ * @return: 0 if succeeded, error code otherwise
  */
 static int r5_request_tcm(struct zynqmp_r5_rproc_pdata *pdata)
 {
@@ -297,6 +303,9 @@ static inline void enable_ipi(struct zynqmp_r5_rproc_pdata *pdata)
  * @data: data passed to idr_for_each callback
  *
  * Pass notification to remtoeproc virtio
+ *
+ * @return: 0. having return is to satisfy the idr_for_each() function
+ *          pointer input argument requirement.
  */
 static int event_notified_idr_cb(int id, void *ptr, void *data)
 {