diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-03-18 09:51:45 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-31 04:21:26 +0200 |
commit | b7ab575f80f6168dea1bfd13e5aec537a869a53b (patch) | |
tree | b931469bbbe667e36b93b1d228c74f9f8b19ff4c /drivers/ata/ata_generic.c | |
parent | ata: pata_opti: Fix spelling issue of 'val' in 'opti_write_reg()' (diff) | |
download | linux-b7ab575f80f6168dea1bfd13e5aec537a869a53b.tar.xz linux-b7ab575f80f6168dea1bfd13e5aec537a869a53b.zip |
ata: ata_generic: Fix misspelling of 'ata_generic_init_one()'
Fixes the following W=1 kernel build warning(s):
drivers/ata/ata_generic.c:164: warning: expecting prototype for ata_generic_init(). Prototype was for ata_generic_init_one() instead
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Andre Hedrick <andre@linux-ide.org>
Cc: Hat Inc <alan@redhat.com>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210318085150.3131936-11-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/ata_generic.c')
-rw-r--r-- | drivers/ata/ata_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c index 9ff545ce8da3..20a32e4d501d 100644 --- a/drivers/ata/ata_generic.c +++ b/drivers/ata/ata_generic.c @@ -151,7 +151,7 @@ static int is_intel_ider(struct pci_dev *dev) } /** - * ata_generic_init - attach generic IDE + * ata_generic_init_one - attach generic IDE * @dev: PCI device found * @id: match entry * |