* @dma_mode: dma mode enable (1) or disable (0)
  * @u32_count: number of bytes to be transferred
  * @is_write: prefetch read(0) or write post(1) mode
+ * @info: NAND device structure containing platform data
  */
 static int omap_prefetch_enable(int cs, int fifo_th, int dma_mode,
        unsigned int u32_count, int is_write, struct omap_nand_info *info)
        return 0;
 }
 
-/**
+/*
  * omap_prefetch_reset - disables and stops the prefetch engine
  */
 static int omap_prefetch_reset(int cs, struct omap_nand_info *info)
 
 /**
  * omap_enable_hwecc - This function enables the hardware ecc functionality
- * @mtd: MTD device structure
+ * @chip: NAND chip object
  * @mode: Read/Write mode
  */
 static void omap_enable_hwecc(struct nand_chip *chip, int mode)
 
 /**
  * omap_dev_ready - checks the NAND Ready GPIO line
- * @mtd: MTD device structure
+ * @chip: NAND chip object
  *
  * Returns true if ready and false if busy.
  */
 
 /**
  * omap_enable_hwecc_bch - Program GPMC to perform BCH ECC calculation
- * @mtd: MTD device structure
+ * @chip: NAND chip object
  * @mode: Read/Write mode
  *
  * When using BCH with SW correction (i.e. no ELM), sector size is set
  * _omap_calculate_ecc_bch - Generate ECC bytes for one sector
  * @mtd:       MTD device structure
  * @dat:       The pointer to data on which ecc is computed
- * @ecc_code:  The ecc_code buffer
+ * @ecc_calc:  The ecc_code buffer
  * @i:         The sector number (for a multi sector page)
  *
  * Support calculating of BCH4/8/16 ECC vectors for one sector
  * omap_calculate_ecc_bch_sw - ECC generator for sector for SW based correction
  * @chip:      NAND chip object
  * @dat:       The pointer to data on which ecc is computed
- * @ecc_code:  The ecc_code buffer
+ * @ecc_calc:  Buffer storing the calculated ECC bytes
  *
  * Support calculating of BCH4/8/16 ECC vectors for one sector. This is used
  * when SW based correction is required as ECC is required for one sector
  * omap_calculate_ecc_bch_multi - Generate ECC for multiple sectors
  * @mtd:       MTD device structure
  * @dat:       The pointer to data on which ecc is computed
- * @ecc_code:  The ecc_code buffer
+ * @ecc_calc:  Buffer storing the calculated ECC bytes
  *
  * Support calculating of BCH4/8/16 ecc vectors for the entire page in one go.
  */
 
 /**
  * is_elm_present - checks for presence of ELM module by scanning DT nodes
- * @omap_nand_info: NAND device structure containing platform data
+ * @info: NAND device structure containing platform data
+ * @elm_node: ELM's DT node
  */
 static bool is_elm_present(struct omap_nand_info *info,
                           struct device_node *elm_node)