diff options
author | Tejun Heo <htejun@gmail.com> | 2007-09-23 00:14:12 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:41 -0400 |
commit | fb7fd61454c8681cd2621051a710b78a00369203 (patch) | |
tree | 491cbdbca867f59b9f1cb1032a4f40a33385e471 /drivers/ata/libata-core.c | |
parent | 422c9daa8b5bea09f3393b11a106afd68850b39b (diff) |
libata-pmp-prep: make a number of functions global to libata
Make a number of functions from libata-core.c and libata-eh.c global
to libata (drivers/ata/libata.h). These will be used by PMP.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index c046c5e1e5d..9467c2f6019 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -6218,7 +6218,7 @@ void ata_dev_init(struct ata_device *dev) | |||
6218 | * LOCKING: | 6218 | * LOCKING: |
6219 | * Kernel thread context (may sleep) | 6219 | * Kernel thread context (may sleep) |
6220 | */ | 6220 | */ |
6221 | static void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp) | 6221 | void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp) |
6222 | { | 6222 | { |
6223 | int i; | 6223 | int i; |
6224 | 6224 | ||
@@ -6253,7 +6253,7 @@ static void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp) | |||
6253 | * RETURNS: | 6253 | * RETURNS: |
6254 | * 0 on success, -errno on failure. | 6254 | * 0 on success, -errno on failure. |
6255 | */ | 6255 | */ |
6256 | static int sata_link_init_spd(struct ata_link *link) | 6256 | int sata_link_init_spd(struct ata_link *link) |
6257 | { | 6257 | { |
6258 | u32 scontrol, spd; | 6258 | u32 scontrol, spd; |
6259 | int rc; | 6259 | int rc; |