Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Lee Jones and committed by
Jens Axboe
b7ab575f dee1d6f3

+1 -1
+1 -1
drivers/ata/ata_generic.c
··· 151 151 } 152 152 153 153 /** 154 - * ata_generic_init - attach generic IDE 154 + * ata_generic_init_one - attach generic IDE 155 155 * @dev: PCI device found 156 156 * @id: match entry 157 157 *