Re: [PATCH] staging: fix Android binder compilation

From: Greg KH
Date: Thu Jan 22 2009 - 13:25:38 EST


On Thu, Jan 22, 2009 at 08:52:49AM +0200, Mike Rapoport wrote:
> Building kernel with ARCH=arm and xm_x2xx_defconfig and Android binder driver
> enabled gives the following error:
>
> CC drivers/staging/android/binder.o
> /mnt/sdb1/git/linux-2.6-arm/drivers/staging/android/binder.c: In function
> 'binder_vma_open':
> /mnt/sdb1/git/linux-2.6-arm/drivers/staging/android/binder.c:2652: error:
> request for member 'pgprot' in something not a structure or union
> /mnt/sdb1/git/linux-2.6-arm/drivers/staging/android/binder.c: In function
> 'binder_vma_close':
> /mnt/sdb1/git/linux-2.6-arm/drivers/staging/android/binder.c:2659: error:
> request for member 'pgprot' in something not a structure or union
> /mnt/sdb1/git/linux-2.6-arm/drivers/staging/android/binder.c: In function
> 'binder_mmap':
> /mnt/sdb1/git/linux-2.6-arm/drivers/staging/android/binder.c:2680: error:
> request for member 'pgprot' in something not a structure or union
>
> Fix it.

Thanks, but this is already fixed in the -next tree and will be sent to
Linus when he returns from linux.conf.au next week or so.

greg k-h
--
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/