summaryrefslogtreecommitdiffstats
path: root/drivers/memory/fsl-corenet-cf.c
diff options
context:
space:
mode:
authorLuis de Bethencourt2015-10-04 18:23:48 +0200
committerGreg Kroah-Hartman2015-10-05 05:44:11 +0200
commit613a91e275a0c7fc493140ef02ec398cd17bbb63 (patch)
treebda13554fd5fd89853b9058f901768a387ee71f1 /drivers/memory/fsl-corenet-cf.c
parentmisc: mic: Fix SCIF build failure with IOMMU_SUPPORT disabled (diff)
downloadkernel-qcow2-linux-613a91e275a0c7fc493140ef02ec398cd17bbb63.tar.gz
kernel-qcow2-linux-613a91e275a0c7fc493140ef02ec398cd17bbb63.tar.xz
kernel-qcow2-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 */