[PATCH 2/5] ahci: st: Remove legacy dependencies on PHY

From: Lee Jones
Date: Wed Mar 12 2014 - 08:42:45 EST


Suggested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>
Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
---
drivers/ata/Kconfig | 1 -
drivers/ata/ahci_st.c | 2 --
2 files changed, 3 deletions(-)

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index ffc5d9d..f1adb4b 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -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.

diff --git a/drivers/ata/ahci_st.c b/drivers/ata/ahci_st.c
index f5af660..a28532a 100644
--- a/drivers/ata/ahci_st.c
+++ b/drivers/ata/ahci_st.c
@@ -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;
--
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/