]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:09 +0000 (21:47 +0200)
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 2326420a7f755f9837dc165f10fa83b08a7cd2e1..ee77c4179f1aa04c24d37944b870c69ddebb13c3 100644 (file)
@@ -54,4 +54,5 @@ typedef unsigned long phys_size_t;
 
 #endif /* __KERNEL__ */
 
+typedef unsigned long resource_size_t;
 #endif