From: Lee Jones Date: Thu, 18 Mar 2021 08:51:42 +0000 (+0000) Subject: ata: pata_piccolo: 'ata_tosh_init()' is misnamed in its header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=05f4226ac537cc5fb43bc6f24c2dca54302300ae;p=linux.git 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 Cc: Andre Hedrick Cc: Hat Inc Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20210318085150.3131936-8-lee.jones@linaro.org Signed-off-by: Jens Axboe --- diff --git a/drivers/ata/pata_piccolo.c b/drivers/ata/pata_piccolo.c index 35cb0e2632379..389b63b13c706 100644 --- a/drivers/ata/pata_piccolo.c +++ b/drivers/ata/pata_piccolo.c @@ -74,7 +74,7 @@ static struct ata_port_operations tosh_port_ops = { }; /** - * ata_tosh_init - attach generic IDE + * ata_tosh_init_one - attach generic IDE * @dev: PCI device found * @id: match entry *