]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ahci: st: Remove legacy dependencies on PHY
authorLee Jones <lee.jones@linaro.org>
Wed, 12 Mar 2014 12:39:39 +0000 (12:39 +0000)
committerTejun Heo <tj@kernel.org>
Fri, 14 Mar 2014 13:21:05 +0000 (09:21 -0400)
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>
drivers/ata/Kconfig
drivers/ata/ahci_st.c

index 88c2c1291b67cc4b6e244c435e99a1dadfa350a7..d2209e4f2dfe18825c824adb09b2d7e4711da340 100644 (file)
@@ -100,7 +100,6 @@ config SATA_AHCI_PLATFORM
 config AHCI_ST
        tristate "ST AHCI SATA support"
        depends on SATA_AHCI_PLATFORM
-       select GENERIC_PHY
        help
          This option enables support for ST AHCI SATA controller.
 
index f5af660835b0870c9e97f62d299777f6dee5df44..a28532aad97b960fba77689701d40c72aacbe6f9 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/clk.h>
 #include <linux/of.h>
 #include <linux/ahci_platform.h>
-#include <linux/phy/phy.h>
 #include <linux/libata.h>
 #include <linux/reset.h>
 #include <linux/io.h>
@@ -33,7 +32,6 @@
 
 struct st_ahci_drv_data {
        struct platform_device *ahci;
-       struct phy *phy;
        struct reset_control *pwr;
        struct reset_control *sw_rst;
        struct reset_control *pwr_rst;