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

Lukasz Majewski
2012-04-25T15:58:51Z

Hi Anatolij,

> From: Mike Frysinger <vapier@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.

Yes. the include/usb/lin_gadget_compat.h layer.
Good idea to provide one compat file (as fair as I remember similar
problem is with mtd/compat.h).

I'll look into the include/linux.h file.

--
Best regards,

Lukasz Majewski

Samsung Poland R&D Center | Linux Platform Group