aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-03-12 08:39:39 -0400
committerTejun Heo <tj@kernel.org>2014-03-14 09:21:05 -0400
commitc51a848973da8b347191c0e317da3b912c2cdb6a (patch)
tree481e06714a8998b395b4c94e64902d77b0df820c
parent4a2e51234038fb8b24963a2f32e8b55980085a23 (diff)
ahci: st: Remove legacy dependencies on PHY
Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r--drivers/ata/Kconfig1
-rw-r--r--drivers/ata/ahci_st.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 88c2c1291b67..d2209e4f2dfe 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -100,7 +100,6 @@ config SATA_AHCI_PLATFORM
100config AHCI_ST 100config AHCI_ST
101 tristate "ST AHCI SATA support" 101 tristate "ST AHCI SATA support"
102 depends on SATA_AHCI_PLATFORM 102 depends on SATA_AHCI_PLATFORM
103 select GENERIC_PHY
104 help 103 help
105 This option enables support for ST AHCI SATA controller. 104 This option enables support for ST AHCI SATA controller.
106 105
diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c
index f5af660835b0..a28532aad97b 100644
--- a/drivers/ata/ahci_st.c
+++ b/drivers/ata/ahci_st.c
@@ -16,7 +16,6 @@
16#include <linux/clk.h> 16#include <linux/clk.h>
17#include <linux/of.h> 17#include <linux/of.h>
18#include <linux/ahci_platform.h> 18#include <linux/ahci_platform.h>
19#include <linux/phy/phy.h>
20#include <linux/libata.h> 19#include <linux/libata.h>
21#include <linux/reset.h> 20#include <linux/reset.h>
22#include <linux/io.h> 21#include <linux/io.h>
@@ -33,7 +32,6 @@
33 32
34struct st_ahci_drv_data { 33struct st_ahci_drv_data {
35 struct platform_device *ahci; 34 struct platform_device *ahci;
36 struct phy *phy;
37 struct reset_control *pwr; 35 struct reset_control *pwr;
38 struct reset_control *sw_rst; 36 struct reset_control *sw_rst;
39 struct reset_control *pwr_rst; 37 struct reset_control *pwr_rst;