summaryrefslogtreecommitdiffstats
path: root/drivers/memory/fsl-corenet-cf.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-04 17:23:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-05 04:44:11 +0100
commit613a91e275a0c7fc493140ef02ec398cd17bbb63 (patch)
treebda13554fd5fd89853b9058f901768a387ee71f1 /drivers/memory/fsl-corenet-cf.c
parentac6d83ccd9c5eaeb610bd65b27adc84b47a1498a (diff)
downloadlinux-613a91e275a0c7fc493140ef02ec398cd17bbb63.tar.gz
linux-613a91e275a0c7fc493140ef02ec398cd17bbb63.tar.bz2
linux-613a91e275a0c7fc493140ef02ec398cd17bbb63.zip
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/fsl-corenet-cf.c')
-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 */