diff options
author | Baolin Wang | 2020-02-20 09:30:01 +0800 |
---|---|---|
committer | Ulf Hansson | 2020-03-24 14:35:40 +0100 |
commit | d1709abb8cc39640e9647b3c0df4451d71bf2841 (patch) | |
tree | 0b5923f816134cd1b4c4174bf657c96531f2c06c /drivers/mmc | |
parent | 7a2a98be672b7f6af3a33525ee1e5104381316a9 (diff) |
mmc: host: hsq: Add missing MODULE_LICENSE() and MODULE_DESCRIPTION()
Add missing MODULE_LICENSE() and MODULE_DESCRIPTION() in hsq driver to
fix below warning when compiling the hsq as a module.
"WARNING: modpost: missing MODULE_LICENSE() in drivers/mmc/host/mmc_hsq.o".
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/98ce471185f037fce57520763621590588766381.1582161803.git.baolin.wang7@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mmc_hsq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmc_hsq.c b/drivers/mmc/host/mmc_hsq.c index fc82593b9e27..b90b2c97b6cf 100644 --- a/drivers/mmc/host/mmc_hsq.c +++ b/drivers/mmc/host/mmc_hsq.c @@ -9,6 +9,7 @@ #include <linux/mmc/card.h> #include <linux/mmc/host.h> +#include <linux/module.h> #include "mmc_hsq.h" @@ -342,3 +343,6 @@ int mmc_hsq_resume(struct mmc_host *mmc) return mmc_hsq_enable(mmc, NULL); } EXPORT_SYMBOL_GPL(mmc_hsq_resume); + +MODULE_DESCRIPTION("MMC Host Software Queue support"); +MODULE_LICENSE("GPL v2"); |