Start separating SATA specific code from libata-eh.c: * move sata_async_notification() to libata-sata.c: Code size savings on m68k arch using (modified) atari_defconfig: text data bss dec hex filename before: 16243 18 0 16261 3f85 drivers/ata/libata-eh.o after: 16164 18 0 16182 3f36 drivers/ata/libata-eh.o
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -1240,6 +1240,7 @@ extern void ata_tf_to_fis(const struct ata_taskfile *tf, · 1239 unmodified lines | ||
| 1240 | 1240 | extern void ata_tf_from_fis(const u8 *fis, struct ata_taskfile *tf); |
| 1241 | 1241 | extern int ata_qc_complete_multiple(struct ata_port *ap, u64 qc_active); |
| 1242 | 1242 | extern bool sata_lpm_ignore_phy_events(struct ata_link *link); |
| 1243 | +extern int sata_async_notification(struct ata_port *ap); | |
| 1243 | 1244 | |
| 1244 | 1245 | extern int ata_cable_40wire(struct ata_port *ap); |
| 1245 | 1246 | extern int ata_cable_80wire(struct ata_port *ap); |
| @@ -1332,7 +1333,6 @@ extern void ata_port_wait_eh(struct ata_port *ap); · 86 unmodified lines | ||
| 1332 | 1333 | extern int ata_link_abort(struct ata_link *link); |
| 1333 | 1334 | extern int ata_port_abort(struct ata_port *ap); |
| 1334 | 1335 | extern int ata_port_freeze(struct ata_port *ap); |
| 1335 | −extern int sata_async_notification(struct ata_port *ap); | |
| 1336 | 1336 | |
| 1337 | 1337 | extern void ata_eh_freeze_port(struct ata_port *ap); |
| 1338 | 1338 | extern void ata_eh_thaw_port(struct ata_port *ap); |