]> git.baikalelectronics.ru Git - kernel.git/commit
ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys()
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 10 Dec 2019 18:53:44 +0000 (10:53 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 26 Dec 2019 03:47:19 +0000 (20:47 -0700)
commitc34f01a2bd41bd3401933b4ff1b8a73d22c4c274
tree2ac40ac668723c74468a169445ea1755b8cc11c6
parent6c0dbe7f6ab221ba6ebe4bdfa89c303ea7dabced
ata: libahci_platform: Export again ahci_platform_<en/dis>able_phys()

This reverts commit d8d701c2c5c5ac117c3e1c8fc2088b35946993e2
("libahci_platform: Staticize ahci_platform_<en/dis>able_phys()") we are
going to need ahci_platform_{enable,disable}_phys() in a subsequent
commit for ahci_brcm.c in order to properly control the PHY
initialization order.

Also make sure the function prototypes are declared in
include/linux/ahci_platform.h as a result.

Cc: stable@vger.kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/libahci_platform.c
include/linux/ahci_platform.h