From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756947Ab1JRIwA (ORCPT ); Tue, 18 Oct 2011 04:52:00 -0400 Received: from mail-gx0-f174.google.com ([209.85.161.174]:33919 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756861Ab1JRIv6 (ORCPT ); Tue, 18 Oct 2011 04:51:58 -0400 Message-ID: <1318927906.25468.2.camel@phoenix> Subject: [PATCH] unicore32: EXPORT_SYMBOL needs export.h From: Axel Lin To: linux-kernel@vger.kernel.org Cc: Guan Xuetao , David Rientjes , Arnd Bergmann , Paul Gortmaker Date: Tue, 18 Oct 2011 16:51:46 +0800 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.0- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include export.h to fix below warning: CC arch/unicore32/mm/init.o arch/unicore32/mm/init.c:227: warning: data definition has no type or storage class arch/unicore32/mm/init.c:227: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL' arch/unicore32/mm/init.c:227: warning: parameter names (without types) in function declaration Signed-off-by: Axel Lin --- This patch is against linux-next 20111014. export.h only exist in Paul's tree now. I think this patch should route via Paul's module.h splitup tree. Axel arch/unicore32/mm/init.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/unicore32/mm/init.c b/arch/unicore32/mm/init.c index 2d3e711..3b379cd 100644 --- a/arch/unicore32/mm/init.c +++ b/arch/unicore32/mm/init.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include -- 1.7.5.4