From: Lee Jones Date: Mon, 1 Feb 2021 14:39:32 +0000 (+0000) Subject: ata: pata_amd: Fix incorrectly named function in the header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f18e1faa09f034021fb17f70faaee7e8df4beb5f;p=linux.git 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 Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones Signed-off-by: Jens Axboe --- diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c index 75b830eb3c542..c8acba162d02f 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 *