On Thu, 26 Apr 2012 14:34:44 +0200 Anatolij Gustschin <ag...@denx.de> wrote:
> From: Mike Frysinger <vap...@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. > > Additionally use memalign() directly as the lin_gadget > specific kmalloc() macro is removed from lin_gadget_compat.h > by this patch. > > Signed-off-by: Mike Frysinger <vap...@gentoo.org> > Signed-off-by: Anatolij Gustschin <ag...@denx.de> > Cc: Lukasz Majewski <l.majew...@samsung.com> > --- > v3: > - use memalign() in the s3c_udc_otg driver directly > > 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) > > drivers/usb/gadget/s3c_udc_otg.c | 5 +++-- > drivers/usb/gadget/s3c_udc_otg_xfer_dma.c | 2 +- > include/linux/compat.h | 3 +++ > include/usb/lin_gadget_compat.h | 15 ++------------- > 4 files changed, 9 insertions(+), 16 deletions(-) Applied to u-boot-staging/ag...@denx.de. Thanks! Anatolij _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot