include: asm: types: add resource_size_t type
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Feb 2015 13:09:59 +0000 (18:39 +0530)
committerChanho Park <chanho61.park@samsung.com>
Fri, 24 Jul 2015 07:30:09 +0000 (16:30 +0900)
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>
arch/arm/include/asm/types.h

index 71dc049da625e521674a6b0cd412283ecade7305..18b50a47b7b3912401158e1263f2184b13d0d5e1 100644 (file)
@@ -50,4 +50,5 @@ typedef unsigned long phys_size_t;
 
 #endif /* __KERNEL__ */
 
+typedef unsigned long resource_size_t;
 #endif