summaryrefslogtreecommitdiff
path: root/include/linux/compat.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-02-23 18:39:58 +0530
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:09 +0200
commit747a0a5b387fd7caab2d9a61b23386d5cd42c7d7 (patch)
tree330ba32c809b0f0d20de69da815ac489d04081a3 /include/linux/compat.h
parent18be4cb151f066cc0ffff40819a258376717f8ed (diff)
usb: dwc3: gadget: make dwc3 gadget build in uboot
Did a bunch of things to get dwc3/gadget.c compile in u-boot without build errors and warnings *) Changed the included header files to that used in u-boot. *) Used dma_alloc_coherent and dma_free_coherent APIs of u-boot *) removed sg support *) remove jiffies and used a simple while loop *) removed irq support and added a function to call these interrupt handler. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 6eac17f0b6..6ff3915216 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -326,6 +326,7 @@ typedef unsigned long dmaaddr_t;
#define IRQ_NONE 0
#define IRQ_HANDLED 1
+#define IRQ_WAKE_THREAD 2
#define dev_set_drvdata(dev, data) do {} while (0)