diff options
| -rw-r--r-- | drivers/ata/libahci_platform.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index c0510de8a4c9..c7f787e9939b 100644 --- a/drivers/ata/libahci_platform.c +++ b/drivers/ata/libahci_platform.c | |||
| @@ -49,7 +49,7 @@ static struct scsi_host_template ahci_platform_sht = { | |||
| 49 | * RETURNS: | 49 | * RETURNS: |
| 50 | * 0 on success otherwise a negative error code | 50 | * 0 on success otherwise a negative error code |
| 51 | */ | 51 | */ |
| 52 | int ahci_platform_enable_phys(struct ahci_host_priv *hpriv) | 52 | static int ahci_platform_enable_phys(struct ahci_host_priv *hpriv) |
| 53 | { | 53 | { |
| 54 | int rc, i; | 54 | int rc, i; |
| 55 | 55 | ||
| @@ -77,7 +77,6 @@ disable_phys: | |||
| 77 | } | 77 | } |
| 78 | return rc; | 78 | return rc; |
| 79 | } | 79 | } |
| 80 | EXPORT_SYMBOL_GPL(ahci_platform_enable_phys); | ||
| 81 | 80 | ||
| 82 | /** | 81 | /** |
| 83 | * ahci_platform_disable_phys - Disable PHYs | 82 | * ahci_platform_disable_phys - Disable PHYs |
| @@ -85,7 +84,7 @@ EXPORT_SYMBOL_GPL(ahci_platform_enable_phys); | |||
| 85 | * | 84 | * |
| 86 | * This function disables all PHYs found in hpriv->phys. | 85 | * This function disables all PHYs found in hpriv->phys. |
| 87 | */ | 86 | */ |
| 88 | void ahci_platform_disable_phys(struct ahci_host_priv *hpriv) | 87 | static void ahci_platform_disable_phys(struct ahci_host_priv *hpriv) |
| 89 | { | 88 | { |
| 90 | int i; | 89 | int i; |
| 91 | 90 | ||
| @@ -97,7 +96,6 @@ void ahci_platform_disable_phys(struct ahci_host_priv *hpriv) | |||
| 97 | phy_exit(hpriv->phys[i]); | 96 | phy_exit(hpriv->phys[i]); |
| 98 | } | 97 | } |
| 99 | } | 98 | } |
| 100 | EXPORT_SYMBOL_GPL(ahci_platform_disable_phys); | ||
| 101 | 99 | ||
| 102 | /** | 100 | /** |
| 103 | * ahci_platform_enable_clks - Enable platform clocks | 101 | * ahci_platform_enable_clks - Enable platform clocks |
