ata: pata_amd: Fix incorrectly named function in the header
authorLee Jones <lee.jones@linaro.org>
Mon, 1 Feb 2021 14:39:32 +0000 (14:39 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 14:28:30 +0000 (07:28 -0700)
Fixes the following W=1 kernel build warning(s):

 drivers/ata/pata_amd.c:331: warning: expecting prototype for nv_probe_init(). Prototype was for nv_pre_reset() instead

Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_amd.c

index 75b830e..c8acba1 100644 (file)
@@ -319,7 +319,7 @@ static unsigned long nv_mode_filter(struct ata_device *dev,
 }
 
 /**
- *     nv_probe_init   -       cable detection
+ *     nv_pre_reset    -       cable detection
  *     @link: ATA link
  *     @deadline: deadline jiffies for the operation
  *