summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-04 19:23:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-05 06:44:11 +0300
commitdf6be790623f11c0db8152e724f4951cd944ffe2 (patch)
tree23593db37c93720cead1eb2001903bd032522a34 /drivers/memory
parent613a91e275a0c7fc493140ef02ec398cd17bbb63 (diff)
downloadlinux-df6be790623f11c0db8152e724f4951cd944ffe2.tar.xz
memory: ti-aemif: 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/ti-aemif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c
index ca7d97a9a9ba..a579a0f25840 100644
--- a/drivers/memory/ti-aemif.c
+++ b/drivers/memory/ti-aemif.c
@@ -324,6 +324,7 @@ static const struct of_device_id aemif_of_match[] = {
{ .compatible = "ti,da850-aemif", },
{},
};
+MODULE_DEVICE_TABLE(of, aemif_of_match);
static int aemif_probe(struct platform_device *pdev)
{