summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-02-01 17:39:32 +0300
committerJens Axboe <axboe@kernel.dk>2021-03-12 17:28:30 +0300
commitf18e1faa09f034021fb17f70faaee7e8df4beb5f (patch)
tree730dbc30281a9137c829e7264ffaef3b972a2d17 /drivers/ata
parent764e3bc4e95b5353da039da382968580124253ec (diff)
downloadlinux-f18e1faa09f034021fb17f70faaee7e8df4beb5f.tar.xz
ata: pata_amd: Fix incorrectly named function in the header
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_amd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c
index 75b830eb3c54..c8acba162d02 100644
--- a/drivers/ata/pata_amd.c
+++ b/drivers/ata/pata_amd.c
@@ -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
*