summaryrefslogtreecommitdiff
path: root/include/linux/compat.h
Commit message (Collapse)AuthorAgeLines
* lin_gadget: use common linux/compat.hMike Frysinger2012-04-30-0/+3
| | | | | | | | | | | | | | | | 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 <vapier@gentoo.org> Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Lukasz Majewski <l.majewski@samsung.com>
* linux/compat.h: rename from linux/mtd/compat.hMike Frysinger2012-04-30-0/+52
This lets us use it in more places than just mtd code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>