summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <[email protected]>2015-02-23 18:39:59 +0530
committerMarek Vasut <[email protected]>2015-04-14 05:48:09 +0200
commit72e7c32fe4dd21aecd1c37eb7f338613b18af148 (patch)
tree79c1884db4a0fc21bc2aa859daaae28796bd1852
parent747a0a5b387fd7caab2d9a61b23386d5cd42c7d7 (diff)
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 <[email protected]> Reviewed-by: Lukasz Majewski <[email protected]>
-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 2326420a7f7..ee77c4179f1 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