]> git.karo-electronics.de Git - karo-tx-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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:20 +0000 (21:17 -0600)
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>
(cherry picked from commit c51a848973da8b347191c0e317da3b912c2cdb6a)

drivers/ata/Kconfig
drivers/ata/ahci_st.c

index 762831eb0dc94c3bbd8a49e69c589c0afde80f13..3a41a5510bb4ef35befb9e9c8c15543242c1997b 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;