From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932442AbbFRNLA (ORCPT ); Thu, 18 Jun 2015 09:11:00 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:34754 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932449AbbFRNKL (ORCPT ); Thu, 18 Jun 2015 09:10:11 -0400 MIME-Version: 1.0 In-Reply-To: <1434629873-11668-4-git-send-email-sudipm.mukherjee@gmail.com> References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> <1434629873-11668-4-git-send-email-sudipm.mukherjee@gmail.com> Date: Thu, 18 Jun 2015 15:10:10 +0200 Message-ID: Subject: Re: [PATCH v2 3/7] mmc: mediatek: build as module From: Ulf Hansson To: Sudip Mukherjee Cc: David Howells , Matthias Brugger , Johan Hovold , Greg Kroah-Hartman , linux-am33-list@redhat.com, "linux-kernel@vger.kernel.org" , linux-mmc , "linux-arm-kernel@lists.infradead.org" , linux-mediatek@lists.infradead.org, linux-usb@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18 June 2015 at 14:17, Sudip Mukherjee wrote: > while building as module with mn10300 it failed with: > > warning: data definition has no type or storage class > module_init(__driver##_init); > > Signed-off-by: Sudip Mukherjee Thanks for the patch. It's although already been fixed on my next branch. Kind regards Uffe > --- > drivers/mmc/host/mtk-sd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c > index 7c20f28..ea6ae36 100644 > --- a/drivers/mmc/host/mtk-sd.c > +++ b/drivers/mmc/host/mtk-sd.c > @@ -33,6 +33,7 @@ > #include > #include > #include > +#include > > #define MAX_BD_NUM 1024 > > -- > 1.8.1.2 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Hansson Subject: Re: [PATCH v2 3/7] mmc: mediatek: build as module Date: Thu, 18 Jun 2015 15:10:10 +0200 Message-ID: References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> <1434629873-11668-4-git-send-email-sudipm.mukherjee@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1434629873-11668-4-git-send-email-sudipm.mukherjee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sudip Mukherjee Cc: David Howells , Matthias Brugger , Johan Hovold , Greg Kroah-Hartman , linux-am33-list-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-mmc , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-mediatek@lists.infradead.org On 18 June 2015 at 14:17, Sudip Mukherjee wrote: > while building as module with mn10300 it failed with: > > warning: data definition has no type or storage class > module_init(__driver##_init); > > Signed-off-by: Sudip Mukherjee Thanks for the patch. It's although already been fixed on my next branch. Kind regards Uffe > --- > drivers/mmc/host/mtk-sd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c > index 7c20f28..ea6ae36 100644 > --- a/drivers/mmc/host/mtk-sd.c > +++ b/drivers/mmc/host/mtk-sd.c > @@ -33,6 +33,7 @@ > #include > #include > #include > +#include > > #define MAX_BD_NUM 1024 > > -- > 1.8.1.2 > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: ulf.hansson@linaro.org (Ulf Hansson) Date: Thu, 18 Jun 2015 15:10:10 +0200 Subject: [PATCH v2 3/7] mmc: mediatek: build as module In-Reply-To: <1434629873-11668-4-git-send-email-sudipm.mukherjee@gmail.com> References: <1434629873-11668-1-git-send-email-sudipm.mukherjee@gmail.com> <1434629873-11668-4-git-send-email-sudipm.mukherjee@gmail.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 18 June 2015 at 14:17, Sudip Mukherjee wrote: > while building as module with mn10300 it failed with: > > warning: data definition has no type or storage class > module_init(__driver##_init); > > Signed-off-by: Sudip Mukherjee Thanks for the patch. It's although already been fixed on my next branch. Kind regards Uffe > --- > drivers/mmc/host/mtk-sd.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c > index 7c20f28..ea6ae36 100644 > --- a/drivers/mmc/host/mtk-sd.c > +++ b/drivers/mmc/host/mtk-sd.c > @@ -33,6 +33,7 @@ > #include > #include > #include > +#include > > #define MAX_BD_NUM 1024 > > -- > 1.8.1.2 >