diff options
author | John Hubbard <jhubbard@nvidia.com> | 2019-01-12 17:29:09 -0800 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2019-01-16 18:00:54 +0530 |
commit | 4fae92797879bd58bd5d4e39c790b515bce4a1af (patch) | |
tree | 6a4421efc0da82028a0cd451858a6f338acb26bb /lib/zlib_inflate/inffast.c | |
parent | 1138a442a0c5e97594ec63e898098b0c9e781172 (diff) | |
download | linux-stable-4fae92797879bd58bd5d4e39c790b515bce4a1af.tar.gz linux-stable-4fae92797879bd58bd5d4e39c790b515bce4a1af.tar.bz2 linux-stable-4fae92797879bd58bd5d4e39c790b515bce4a1af.zip |
phy: fix build breakage: add PHY_MODE_SATA
Commit 49e54187ae0b ("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: 49e54187ae0b ("ata: libahci_platform: comply to PHY framework")
Cc: Grzegorz Jaszczyk <jaz@semihalf.com>
Cc: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'lib/zlib_inflate/inffast.c')
0 files changed, 0 insertions, 0 deletions