diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-02-01 14:39:32 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-12 07:28:30 -0700 |
commit | f18e1faa09f034021fb17f70faaee7e8df4beb5f (patch) | |
tree | 730dbc30281a9137c829e7264ffaef3b972a2d17 /drivers/ata | |
parent | 764e3bc4e95b5353da039da382968580124253ec (diff) |
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.c | 2 |
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 * |