libata: unexport ata_dev_revalidate()
PATCH 3/12 libata: unexport ata_dev_revalidate()
From: Tejun Heo <[email protected]>
ata_dev_revalidate() isn't used outside of libata core. Unexport it.
Signed-off-by Tejun Heo <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/ata/libata-core.c | 1 - drivers/ata/libata.h | 1 + include/linux/libata.h | 1 - 3 files changed, 1 insertion(+), 2 deletions(-)
drivers/ata/libata-core.c renamed from drivers/ata/libata-core.c~libata-unexport-ata_dev_revalidate +0 -1
@@ -6144,7 +6144,6 @@ EXPORT_SYMBOL_GPL(ata_std_prereset);EXPORT_SYMBOL_GPL (ata_std_softreset);EXPORT_SYMBOL_GPL (sata_std_hardreset);EXPORT_SYMBOL_GPL (ata_std_postreset); -EXPORT_SYMBOL_GPL (ata_dev_revalidate);EXPORT_SYMBOL_GPL (ata_dev_classify);EXPORT_SYMBOL_GPL (ata_dev_pair);EXPORT_SYMBOL_GPL (ata_port_disable);
drivers/ata/libata.h renamed from drivers/ata/libata.h~libata-unexport-ata_dev_revalidate +1 -0
@@ -54,6 +54,7 @@ extern unsigned ata_exec_internal(structextern unsigned int ata_do_simple_cmd (struct ata_device *dev,u8 cmd);extern int ata_dev_read_id (struct ata_device *dev,unsigned int *p_class,int post_reset,u16 *id); +extern int ata_dev_revalidate (struct ata_device *dev,int post_reset);extern int ata_dev_configure (struct ata_device *dev,int print_info);extern int sata_down_spd_limit (struct ata_port *ap);extern int sata_set_spd_needed (struct ata_port *ap);
include/linux/libata.h renamed from include/linux/libata.h~libata-unexport-ata_dev_revalidate +0 -1
@@ -708,7 +708,6 @@ extern int ata_std_prereset(struct ata_pextern int ata_std_softreset (struct ata_port *ap,unsigned int *classes);extern int sata_std_hardreset (struct ata_port *ap,unsigned int *class);extern void ata_std_postreset (struct ata_port *ap,unsigned int *classes); -extern int ata_dev_revalidate (struct ata_device *dev,int post_reset);extern void ata_port_disable (struct ata_port *);extern void ata_std_ports (struct ata_ioports *ioaddr);#ifdef CONFIG_PCI
_