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

ata: pata_piccolo: 'ata_tosh_init()' is misnamed in its header

Fixes the following W=1 kernel build warning(s):

drivers/ata/pata_piccolo.c:87: warning: expecting prototype for ata_tosh_init(). Prototype was for ata_tosh_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-8-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Lee Jones and committed by
Jens Axboe
05f4226a 87eac27c

+1 -1
+1 -1
drivers/ata/pata_piccolo.c
··· 74 74 }; 75 75 76 76 /** 77 - * ata_tosh_init - attach generic IDE 77 + * ata_tosh_init_one - attach generic IDE 78 78 * @dev: PCI device found 79 79 * @id: match entry 80 80 *