WSL2-Linux-Kernel/drivers/phy
John Hubbard e170672040 phy: fix build breakage: add PHY_MODE_SATA
Commit 49e54187ae ("ata: libahci_platform: comply to PHY framework") uses
the PHY_MODE_SATA, but that enum had not yet been added. This caused a
build failure for me, with today's linux.git.

Also, there is a potentially conflicting (mis-named) PHY_MODE_SATA, hiding
in the Marvell Berlin SATA PHY driver.

Fix the build by:

    1) Renaming Marvell's defined value to a more scoped name,
       in order to avoid any potential conflicts: PHY_BERLIN_MODE_SATA.

    2) Adding the missing enum, which was going to be added anyway as part
       of [1].

[1] https://lkml.kernel.org/r/20190108163124.6409-3-miquel.raynal@bootlin.com

Fixes: 49e54187ae ("ata: libahci_platform: comply to PHY framework")

Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Acked-by: Olof Johansson <olof@lixom.net>
Cc: Grzegorz Jaszczyk <jaz@semihalf.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-01-12 21:07:14 -08:00
..
allwinner phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
amlogic phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
broadcom phy: brcm-sata: Add BCM63138 (DSL) PHY init sequence 2018-09-25 16:10:08 +05:30
cadence phy: cadence: Add driver for Sierra PHY 2018-12-12 10:01:38 +05:30
freescale phy: add driver for Freescale i.MX8MQ USB3 PHY 2018-12-12 10:01:46 +05:30
hisilicon phy: add inno-usb2-phy driver for hi3798cv200 SoC 2018-03-16 16:55:29 +05:30
lantiq phy: lantiq: Fix compile warning 2018-09-26 13:09:39 +05:30
marvell phy: fix build breakage: add PHY_MODE_SATA 2019-01-12 21:07:14 -08:00
mediatek phy: core: rework phy_set_mode to accept phy mode and submode 2018-12-12 10:01:33 +05:30
motorola phy: mapphone-mdm6600: Improve phy related runtime PM calls 2018-12-12 10:01:39 +05:30
mscc phy: ocelot-serdes: convert to use eth phy mode and submode 2018-12-12 10:01:35 +05:30
qualcomm phy: qcom-qmp: Expose provided clocks to DT 2018-12-12 10:02:12 +05:30
ralink phy: add 'depends on HAS_IOMEM' to fix unmet dependency 2018-03-16 13:40:45 +05:30
renesas phy: renesas: rcar-gen3-usb2: follow the hardware manual procedure 2018-12-12 10:01:38 +05:30
rockchip phy: Use of_node_name_eq for node name comparisons 2018-12-12 10:01:44 +05:30
samsung phy: exynos-mipi-video: Simplify code by using regmap_update_bits() 2018-04-25 10:52:59 +05:30
socionext phy: uniphier-pcie: Depend on HAS_IOMEM 2018-11-12 16:19:06 +05:30
st phy: stm32: fix usbphyc static checker and checkpatch warnings 2018-05-20 21:51:25 +05:30
tegra phy: Convert to using %pOFn instead of device_node.name 2018-09-25 16:10:07 +05:30
ti phy: ti: fix semicolon.cocci warnings 2018-12-12 10:01:52 +05:30
Kconfig phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
Makefile phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
phy-core-mipi-dphy.c phy: dphy: Add configuration helpers 2018-12-12 10:01:51 +05:30
phy-core.c phy: Add configuration interface 2018-12-12 10:01:50 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: error handling in lpc18xx_usb_otg_phy_power_on() 2018-03-16 13:40:42 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-xgene.c phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-07-04 17:19:21 +05:30