trivial sdhci-s3c.c compile fix

Werner Almesberger werner at openmoko.org
Fri Nov 21 16:53:50 CET 2008


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:

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



More information about the openmoko-kernel mailing list