diff options
author | Brian Norris <computersforpeace@gmail.com> | 2012-11-02 12:29:32 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-12-03 05:15:17 -0500 |
commit | b7db04d9264fca4b00e949da7b3180c50e243fca (patch) | |
tree | 038ef53ed19ec37d4a47ab55f21bccc79843673c /include/linux/libata.h | |
parent | 1896b15eddb4ff7266bccf3efa981885ecf80ab1 (diff) | |
download | linux-stable-b7db04d9264fca4b00e949da7b3180c50e243fca.tar.gz linux-stable-b7db04d9264fca4b00e949da7b3180c50e243fca.tar.bz2 linux-stable-b7db04d9264fca4b00e949da7b3180c50e243fca.zip |
libata: implement ata_platform_remove_one()
This relatively simple boiler-plate code is repeated in several platform
drivers. We should implement a common version in libata.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index e931c9ad1078..83ba0ab2c915 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -1115,6 +1115,10 @@ extern int ata_pci_device_resume(struct pci_dev *pdev); #endif /* CONFIG_PM */ #endif /* CONFIG_PCI */ +struct platform_device; + +extern int ata_platform_remove_one(struct platform_device *pdev); + /* * ACPI - drivers/ata/libata-acpi.c */ |