src/include: Remove use of binary constants
Fix the following warning detected by checkpatch.pl:
WARNING: Avoid gcc v4.3+ binary constant extension: <...>
TEST=Build and run on Galileo Gen2
Change-Id: Iab29c494060df3f60eff5317259e0fdbfea06f27
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18685
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
diff --git a/src/include/device/azalia.h b/src/include/device/azalia.h
index 0ac4fcd..7abf8e8 100644
--- a/src/include/device/azalia.h
+++ b/src/include/device/azalia.h
@@ -25,10 +25,10 @@
*/
enum AzaliaPinCfgPortConnectivity {
- AZALIA_PINCFG_PORT_JACK = 0b00,
- AZALIA_PINCFG_PORT_NC = 0b01,
- AZALIA_PINCFG_PORT_FIXED = 0b10,
- AZALIA_PINCFG_PORT_MULTIPLE = 0b11,
+ AZALIA_PINCFG_PORT_JACK = 0,
+ AZALIA_PINCFG_PORT_NC = 1,
+ AZALIA_PINCFG_PORT_FIXED = 2,
+ AZALIA_PINCFG_PORT_MULTIPLE = 3,
};
enum AzaliaPinCfgLocationGross {