forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-09 244b2c5ca8b14627e4a17755e5922221e121c771
kernel/drivers/ata/pata_ns87415.c
....@@ -1,5 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
2
- * pata_ns87415.c - NS87415 (non PARISC) PATA
3
+ * pata_ns87415.c - NS87415 (and PARISC SUPERIO 87560) PATA
34 *
45 * (C) 2005 Red Hat <alan@lxorguk.ukuu.org.uk>
56 *
....@@ -15,7 +16,6 @@
1516 * systems. This has its own special mountain of errata.
1617 *
1718 * TODO:
18
- * Test PARISC SuperIO
1919 * Get someone to test on SPARC
2020 * Implement lazy pio/dma switching for better performance
2121 * 8bit shared timing.
....@@ -260,7 +260,7 @@
260260 * LOCKING:
261261 * Inherited from caller.
262262 */
263
-void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
263
+static void ns87560_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
264264 {
265265 struct ata_ioports *ioaddr = &ap->ioaddr;
266266