summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/maximus/src/maximus_tmdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/hal/phy/maximus/src/maximus_tmdma.c')
-rw-r--r--cesar/hal/phy/maximus/src/maximus_tmdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/hal/phy/maximus/src/maximus_tmdma.c b/cesar/hal/phy/maximus/src/maximus_tmdma.c
index a81cb87a0c..39439d8966 100644
--- a/cesar/hal/phy/maximus/src/maximus_tmdma.c
+++ b/cesar/hal/phy/maximus/src/maximus_tmdma.c
@@ -67,7 +67,6 @@ phy_set_tonemask (phy_t *ctx, u32 *tonemask, uint carrier_nb)
/**
* Transfer tone map to hardware using the TM DMA.
* \param ctx phy context
- * \param tonemap_index tonemap index where to store tonemap
* \param tonemap tonemap blocks first descriptor
* set errno to:
* - EINVAL if ctx or tonemap are null, or if arguments are out-of-range or incorrect
@@ -75,8 +74,9 @@ phy_set_tonemask (phy_t *ctx, u32 *tonemask, uint carrier_nb)
* The tonemap uses two blocks.
*/
void
-phy_set_tonemap (phy_t *ctx, uint tonemap_index, blk_t *tonemap)
+phy_set_tonemap (phy_t *ctx, blk_t *tonemap)
{
+ uint tonemap_index = 0;
/* Set the tonemap_index value of PHY context.
* Copy tonemap contents into PHY context. */