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

View: New views
1 Messages — Rating Filter:   Alert me  

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

by Grant Likely-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Driver cannot be used as a module without this patch.

Signed-off-by: Grant Likely <grant.likely@...>
---
 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

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@...
https://lists.ozlabs.org/listinfo/linuxppc-dev