[U-Boot] [PATCH v2 4/4] lin_gadget: use common linux/compat.h

Mike Frysinger vapier at gentoo.org
Wed Apr 25 17:14:54 CEST 2012


On Wednesday 25 April 2012 04:11:41 Anatolij Gustschin wrote:
> From: Mike Frysinger <vapier at gentoo.org>
> 
> Merge our duplicate definitions with the common header.
> Also fix drivers/usb/gadget/s3c_udc_otg_xfer_dma.c to
> use min() instead of min_t() since we remove the latter
> from compat.h.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> v2:
>  - fix build breakage:
>    In file included from s3c_udc_otg.c:212:0:
>    s3c_udc_otg_xfer_dma.c: In function 'setdma_tx':
>    s3c_udc_otg_xfer_dma.c:171:47: error: macro "min_t" requires 3
> arguments, but only 2 given s3c_udc_otg_xfer_dma.c:171:12: error: 'min_t'
> undeclared (first use in this function)

we'll prob want to merge the mtd/compat.h stuff in to linux/compat.h, like the 
min_t() macro
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120425/899f6046/attachment.pgp>


More information about the U-Boot mailing list