From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lukasz Majewski Date: Mon, 16 Feb 2015 11:53:38 +0100 Subject: [U-Boot] [u-boot 16/40] include: asm: types: add resource_size_t type In-Reply-To: <1423212497-11970-17-git-send-email-kishon@ti.com> References: <1423212497-11970-1-git-send-email-kishon@ti.com> <1423212497-11970-17-git-send-email-kishon@ti.com> Message-ID: <20150216115338.68173ea0@amdc2363> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 -- Best regards, Lukasz Majewski Samsung R&D Institute Poland (SRPOL) | Linux Platform Group