trivial sdhci-s3c.c compile fix

Ben Dooks ben-linux at fluff.org
Fri Nov 21 17:01:13 CET 2008


On Fri, Nov 21, 2008 at 01:53:50PM -0200, Werner Almesberger wrote:
> Hi Ben,
> 
> I just tried to build all the MMC support as modules, and it tripped
> over a subtle typo in sdhci-s3c.c (which was accidently included in
> the configuration) with this rather pompous error:
> 
> FATAL: modpost: GPL-incompatible module sdhci-s3c.ko uses GPL-only symbol 'sdhci_free_host'
> 
> There's the fix:

hi, re-send as something I can apply to my git and i'll apply it thanks.
 
> diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c
> index a1ddb13..b8f2044 100644
> --- a/drivers/mmc/host/sdhci-s3c.c
> +++ b/drivers/mmc/host/sdhci-s3c.c
> @@ -371,5 +371,5 @@ module_exit(sdhci_s3c_exit);
>  
>  MODULE_DESCRIPTION("Samsung SDHCI (HSMMC) glue");
>  MODULE_AUTHOR("Ben Dooks, <ben at simtec.co.uk>");
> -MODULE_LICENSE("GPLv2");
> +MODULE_LICENSE("GPL v2");
>  MODULE_ALIAS("platform:s3c-sdhci");
> 
> - Werner
> 

-- 
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.




More information about the openmoko-kernel mailing list