[PATCH] mmc: fix missing module license declaration in of_mmc_spi.c

Grant Likely grant.likely at secretlab.ca
Wed Nov 4 17:34:04 EST 2009


Driver cannot be used as a module without this patch.

Signed-off-by: Grant Likely <grant.likely at secretlab.ca>
---
 drivers/mmc/host/of_mmc_spi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c
index fb2921f..644f67e 100644
--- a/drivers/mmc/host/of_mmc_spi.c
+++ b/drivers/mmc/host/of_mmc_spi.c
@@ -22,6 +22,8 @@
 #include <linux/mmc/core.h>
 #include <linux/mmc/host.h>
 
+MODULE_LICENSE("GPL");
+
 enum {
 	CD_GPIO = 0,
 	WP_GPIO,
-- 
1.6.3.3



More information about the Linuxppc-dev mailing list