summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-02-23 18:39:59 +0530
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:09 +0200
commit72e7c32fe4dd21aecd1c37eb7f338613b18af148 (patch)
tree79c1884db4a0fc21bc2aa859daaae28796bd1852
parent747a0a5b387fd7caab2d9a61b23386d5cd42c7d7 (diff)
downloadblackbird-obmc-uboot-72e7c32fe4dd21aecd1c37eb7f338613b18af148.tar.gz
blackbird-obmc-uboot-72e7c32fe4dd21aecd1c37eb7f338613b18af148.zip
include: asm: types: add resource_size_t type
Added resource_size_t type in order to get rid of the following compilation error whiel building dwc3 gadget. include/linux/ioport.h:19:2: error: unknown type name ‘resource_size_t’ Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
-rw-r--r--arch/arm/include/asm/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/types.h b/arch/arm/include/asm/types.h
index 2326420a7f..ee77c4179f 100644
--- a/arch/arm/include/asm/types.h
+++ b/arch/arm/include/asm/types.h
@@ -54,4 +54,5 @@ typedef unsigned long phys_size_t;
#endif /* __KERNEL__ */
+typedef unsigned long resource_size_t;
#endif
OpenPOWER on IntegriCloud