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>
This commit is contained in:
Lee Jones 2021-02-01 14:39:32 +00:00 committed by Jens Axboe
parent 764e3bc4e9
commit f18e1faa09

View 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
*