mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
Commit49e54187ae("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/[email protected] Fixes:49e54187ae("ata: libahci_platform: comply to PHY framework") Signed-off-by: John Hubbard <[email protected]> Acked-by: Jens Axboe <[email protected]> Acked-by: Olof Johansson <[email protected]> Cc: Grzegorz Jaszczyk <[email protected]> Cc: Miquel Raynal <[email protected]> Cc: Hans de Goede <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>