From 2b7ea66ee7002add41f318ac0bbe585164e1075d Mon Sep 17 00:00:00 2001 From: Kishon Vijay Abraham I Date: Mon, 23 Feb 2015 18:39:59 +0530 Subject: [PATCH] include: asm: types: add resource_size_t type MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Lukasz Majewski --- arch/arm/include/asm/types.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.2