ACK: [PATCH] acpi: spcr: remove unnecessary include files and fix ARM build issue
ivanhu
ivan.hu at canonical.com
Fri May 8 04:04:29 UTC 2015
On 2015年04月30日 16:37, 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: Ivan Hu<ivan.hu at canonical.com>
More information about the fwts-devel
mailing list