On 13 December 2017 at 03:33, Yoshihiro Shimoda
<[email protected]> wrote:
> From: Masaharu Hayakawa <[email protected]>
>
> The following error occurs when loading renesas_sdhi_core.c module,
> so add MODULE_LICENSE("GPL v2").
>
> renesas_sdhi_core: module license 'unspecified' taints kernel.
>
> Signed-off-by: Masaharu Hayakawa <[email protected]>
> Fixes: 9d08428afb72 ("mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main
> module file")
> Cc: <[email protected]> # v4.13+
> [Shimoda: Added Fixes tag and Cc to the stable ML]
> Signed-off-by: Yoshihiro Shimoda <[email protected]>
Thanks, applied for fixes!
Kind regards
Uffe
> ---
> drivers/mmc/host/renesas_sdhi_core.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/mmc/host/renesas_sdhi_core.c
> b/drivers/mmc/host/renesas_sdhi_core.c
> index fcf7235..157e1d9 100644
> --- a/drivers/mmc/host/renesas_sdhi_core.c
> +++ b/drivers/mmc/host/renesas_sdhi_core.c
> @@ -24,6 +24,7 @@
> #include <linux/kernel.h>
> #include <linux/clk.h>
> #include <linux/slab.h>
> +#include <linux/module.h>
> #include <linux/of_device.h>
> #include <linux/platform_device.h>
> #include <linux/mmc/host.h>
> @@ -667,3 +668,5 @@ int renesas_sdhi_remove(struct platform_device *pdev)
> return 0;
> }
> EXPORT_SYMBOL_GPL(renesas_sdhi_remove);
> +
> +MODULE_LICENSE("GPL v2");
> --
> 1.9.1
>