[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPDyKFq-s+xFY0zxVP7SEEEWVLh83VQiMPjJseRXkparmQY7fg@mail.gmail.com>
Date: Thu, 18 Jun 2015 15:10:10 +0200
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: David Howells <dhowells@...hat.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Johan Hovold <johan@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-am33-list@...hat.com,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-mmc <linux-mmc@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
linux-mediatek@...ts.infradead.org, linux-usb@...r.kernel.org
Subject: Re: [PATCH v2 3/7] mmc: mediatek: build as module
On 18 June 2015 at 14:17, Sudip Mukherjee <sudipm.mukherjee@...il.com> 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 <sudip@...torindia.org>
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 <linux/mmc/mmc.h>
> #include <linux/mmc/sd.h>
> #include <linux/mmc/sdio.h>
> +#include <linux/module.h>
>
> #define MAX_BD_NUM 1024
>
> --
> 1.8.1.2
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists