From f0c8a8eb554f3eca0164b2a3cd0e6b6a4abdf759 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Wed, 8 Mar 2017 10:11:37 -0800 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/18685 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/include/device/azalia.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/device/azalia.h b/src/include/device/azalia.h index 0ac4fcd8a7..7abf8e8c06 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 {