ACK: [PATCH] acpi: spcr: remove unnecessary include files and fix ARM build issue

Alex Hung alex.hung at canonical.com
Wed May 6 03:47:43 UTC 2015


On 04/30/2015 04:37 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> Fix build error, <sys/io.h> is not needed and causes build error on
> ARM64:
> 
> acpi/spcr/spcr.c:27:20: fatal error: sys/io.h: No such file or directory
>  #include <sys/io.h>
> 
> ..and remove two more sys include files that are not required too.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  src/acpi/spcr/spcr.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/src/acpi/spcr/spcr.c b/src/acpi/spcr/spcr.c
> index 930168e..7012e43 100644
> --- a/src/acpi/spcr/spcr.c
> +++ b/src/acpi/spcr/spcr.c
> @@ -22,9 +22,6 @@
>  
>  #include <stdlib.h>
>  #include <stdio.h>
> -#include <sys/types.h>
> -#include <sys/stat.h>
> -#include <sys/io.h>
>  #include <unistd.h>
>  #include <inttypes.h>
>  #include <string.h>
> 

Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list