ata: pata_piccolo: 'ata_tosh_init()' is misnamed in its header
authorLee Jones <lee.jones@linaro.org>
Thu, 18 Mar 2021 08:51:42 +0000 (08:51 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 31 Mar 2021 02:21:25 +0000 (20:21 -0600)
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>
drivers/ata/pata_piccolo.c

index 35cb0e2632379e8f0ca8c11fde4f8ab2a7d41790..389b63b13c7066267fae747509dcd352f0a92d0f 100644 (file)
@@ -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
  *