Re: [PATCH] Staging: Android logger: fix compiling error

From: Eric Miao
Date: Tue Oct 27 2009 - 00:40:34 EST


> Compiling broke since commit a99bbaf5ee6bad1aca0c88ea65ec6e5373e86184
> Â Âheaders: remove sched.h from poll.h
>
> Adding <linux/sched.h> to fix this compiling bug.
>

Bryan,

Is this something caused by incorrect pxa header files?

> Cc: Alexey Dobriyan <adobriyan@xxxxxxxxx>
> Signed-off-by: Bryan Wu <bryan.wu@xxxxxxxxxxxxx>
> ---
> Âdrivers/staging/android/logger.c | Â Â1 +
> Â1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/android/logger.c b/drivers/staging/android/logger.c
> index 6c10b45..a8eb7d1 100644
> --- a/drivers/staging/android/logger.c
> +++ b/drivers/staging/android/logger.c
> @@ -21,6 +21,7 @@
> Â#include <linux/fs.h>
> Â#include <linux/miscdevice.h>
> Â#include <linux/uaccess.h>
> +#include <linux/sched.h>
> Â#include <linux/poll.h>
> Â#include <linux/time.h>
> Â#include "logger.h"
> --
> 1.6.3.3
>
>
> --
> kernel-team mailing list
> kernel-team@xxxxxxxxxxxxxxxx
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/