summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-04 19:23:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-05 06:44:11 +0300
commit613a91e275a0c7fc493140ef02ec398cd17bbb63 (patch)
treebda13554fd5fd89853b9058f901768a387ee71f1 /drivers/memory
parentac6d83ccd9c5eaeb610bd65b27adc84b47a1498a (diff)
downloadlinux-613a91e275a0c7fc493140ef02ec398cd17bbb63.tar.xz
memory: fsl-corenet: Fix module autoload for OF platform driver
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/fsl-corenet-cf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/fsl-corenet-cf.c b/drivers/memory/fsl-corenet-cf.c
index d708ded5457b..662d050243be 100644
--- a/drivers/memory/fsl-corenet-cf.c
+++ b/drivers/memory/fsl-corenet-cf.c
@@ -61,6 +61,7 @@ static const struct of_device_id ccf_matches[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, ccf_matches);
struct ccf_err_regs {
u32 errdet; /* 0x00 Error Detect Register */