summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_piccolo.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-03-18 11:51:42 +0300
committerJens Axboe <axboe@kernel.dk>2021-03-31 05:21:25 +0300
commit05f4226ac537cc5fb43bc6f24c2dca54302300ae (patch)
tree11f4e99299938dfd86400d76f140400101e435e2 /drivers/ata/pata_piccolo.c
parent87eac27c920477059f766acea1c4390934738d11 (diff)
downloadlinux-05f4226ac537cc5fb43bc6f24c2dca54302300ae.tar.xz
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>
Diffstat (limited to 'drivers/ata/pata_piccolo.c')
-rw-r--r--drivers/ata/pata_piccolo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_piccolo.c b/drivers/ata/pata_piccolo.c
index 35cb0e263237..389b63b13c70 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
*