Fixes the following W=1 kernel build warning(s):

 drivers/ata/pata_opti.c:82: warning: Function parameter or member 'val' not 
described in 'opti_write_reg'
 drivers/ata/pata_opti.c:82: warning: Excess function parameter 'value' 
description in 'opti_write_reg'

Cc: Jens Axboe <[email protected]>
Cc: Jaromir Koutek <[email protected]>
Cc: Jan Harkes <[email protected]>
Cc: Mark Lord <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
---
 drivers/ata/pata_opti.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c
index 06a800a3b0706..01976c4e40330 100644
--- a/drivers/ata/pata_opti.c
+++ b/drivers/ata/pata_opti.c
@@ -69,7 +69,7 @@ static int opti_pre_reset(struct ata_link *link, unsigned 
long deadline)
 /**
  *     opti_write_reg          -       control register setup
  *     @ap: ATA port
- *     @value: value
+ *     @val: value
  *     @reg: control register number
  *
  *     The Opti uses magic 'trapdoor' register accesses to do configuration
-- 
2.27.0

Reply via email to