Message ID | 1423212497-11970-17-git-send-email-kishon@ti.com |
---|---|
State | Accepted |
Delegated to: | Łukasz Majewski |
Headers | show |
Hi Kishon, > 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> > --- > 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 2326420..ee77c41 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 Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
diff --git a/arch/arm/include/asm/types.h b/arch/arm/include/asm/types.h index 2326420..ee77c41 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
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> --- arch/arm/include/asm/types.h | 1 + 1 file changed, 1 insertion(+)