From b57fef9f3e2b3cb8d8c8c5a3552c94a28ff81d15 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Tue, 17 Jun 2014 20:13:08 +1000 Subject: src/ec: Sanitize headers and comment #endif pairings Comment #endif /* FOO */ pairings. Alphabetise headers and remove any #if CONFIG_ guards around them. Background rational: Remove guarding the inclusion of headers based on CONFIG_ options. This *potentially* could hide issues such as functions being swapped from under our feet, since different runtime behaviour could be declared with the same function same name and type-signature. Hence, depending on the header we happen to get may change runtime behaviour. Change-Id: Ic61bdfb64d99f0e2998c6451ae6686915b7bb3d4 Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/6059 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/ec/acpi/ec.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ec/acpi') diff --git a/src/ec/acpi/ec.h b/src/ec/acpi/ec.h index 8fc88d25fa..82266bf394 100644 --- a/src/ec/acpi/ec.h +++ b/src/ec/acpi/ec.h @@ -49,5 +49,4 @@ void ec_set_bit(u8 addr, u8 bit); void ec_clr_bit(u8 addr, u8 bit); void ec_set_ports(u16 cmd_reg, u16 data_reg); -#endif - +#endif /* _EC_ACPI_H */ -- cgit v1.2.3