Re: [PATCH] USB: s3c-hsudc: include linux/prefetch.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have just checked that the patch was already submitted by commit b38b03b363a5
("usb: gadget: include <linux/prefetch.h> to fix compiling error")

Thanks.

> ------- Original Message -------
> Sender : JinGoo Han<jg1.han@xxxxxxxxxxx>  E4/Engineer/SW Solution Development Team/Samsung Electronics
> Date   : Jun 07, 2011 08:33 (GMT+09:00)
> Title  : [PATCH] USB: s3c-hsudc: include linux/prefetch.h
> 
> Commit e66eed651fd1 ("list: remove prefetching from regular list
> iterators") removed the include of prefetch.h from list.h.
> So, we need to include it to fix build errors on s3c-hsudc as follows:
> 
> drivers/usb/gadget/s3c-hsudc.c: In function 's3c_hsudc_write_fifo':
> drivers/usb/gadget/s3c-hsudc.c:339: error: implicit declaration of function 'prefetch'
> drivers/usb/gadget/s3c-hsudc.c: In function 's3c_hsudc_read_fifo':
> drivers/usb/gadget/s3c-hsudc.c:391: error: implicit declaration of function 'prefetchw'
> 
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
> ---
>  drivers/usb/gadget/s3c-hsudc.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c
> index cfe3cf5..9a1b966 100644
> --- a/drivers/usb/gadget/s3c-hsudc.c
> +++ b/drivers/usb/gadget/s3c-hsudc.c
> @@ -26,6 +26,7 @@
>  #include <linux/clk.h>
>  #include <linux/usb/ch9.h>
>  #include <linux/usb/gadget.h>
> +#include <linux/prefetch.h>
>  
>  #include <mach/regs-s3c2443-clock.h>
>  #include <plat/udc.h>
> -- 
> 1.7.1
ÿ淸º{.nÇ+돴윯돪†+%듚ÿ깁負¥Šwÿº{.nÇ+돴¥Š{깸ëþ)í끾èw*jgП¨¶‰šŽ듶¢jÿ¾?G«앶ÿ◀◁¦j:+v돣ŠwèjØm¶Ÿÿ?®w?듺þf"·hš뤴얎ÿ녪¥



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux