diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-17 18:37:08 +1000 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-06-25 11:32:25 +0200 |
commit | 0ddb82671cae52571e92b7b22cf088939d887d50 (patch) | |
tree | b091186d484edea1ab137eeef1ceebc4f45db941 /src/console/console.c | |
parent | 6c99250c3fb97ccaa03d4f0c158caffdc53ff995 (diff) |
src/console: Sanitize headers and IS_ENABLED usage
Alphabetise headers and remove any #if CONFIG_ guards around them.
Use #if IS_ENABLED(CONFIG_FOO) over #if CONFIG_FOO where applicable.
Change-Id: I2a616bcfb8470a1fa21c9e26271e81cca835272a
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6057
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src/console/console.c')
-rw-r--r-- | src/console/console.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/console/console.c b/src/console/console.c index bd03144a32..ff4b3e47b2 100644 --- a/src/console/console.c +++ b/src/console/console.c @@ -17,14 +17,14 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <rules.h> -#include <console/streams.h> #include <console/cbmem_console.h> -#include <console/uart.h> -#include <console/usb.h> #include <console/ne2k.h> -#include <console/spkmodem.h> #include <console/qemu_debugcon.h> +#include <console/spkmodem.h> +#include <console/streams.h> +#include <console/uart.h> +#include <console/usb.h> +#include <rules.h> void console_hw_init(void) { |