]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ata: libata: Move sata_std_hardreset() definition to libata-sata.c
authorDamien Le Moal <dlemoal@kernel.org>
Wed, 17 Jul 2024 08:48:16 +0000 (17:48 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Sat, 7 Sep 2024 01:16:55 +0000 (10:16 +0900)
commit78f76b09c915d7281317d8e082c4c02f325a0366
treefb1a8a7c170354d99b2e87036cfbc827b47120b3
parentb642212d8858059f652b2a81b0cb73541416d2e3
ata: libata: Move sata_std_hardreset() definition to libata-sata.c

Unlike ata_std_prereset() and ata_std_postreset(), the function
sata_std_hardreset() applies only to SATA devices, as its name implies.
So move its definition to libata-sata.c.

Together with this, also move the definition of sata_port_ops to
libata-sata.c, where it belongs.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/ata/libata-core.c
drivers/ata/libata-sata.c
include/linux/libata.h