diff options
author | Luis de Bethencourt <luisbg@osg.samsung.com> | 2015-10-04 16:23:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-05 03:44:11 (GMT) |
commit | df6be790623f11c0db8152e724f4951cd944ffe2 (patch) | |
tree | 23593db37c93720cead1eb2001903bd032522a34 /drivers/memory/ti-aemif.c | |
parent | 613a91e275a0c7fc493140ef02ec398cd17bbb63 (diff) | |
download | linux-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/ti-aemif.c')
-rw-r--r-- | drivers/memory/ti-aemif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c index ca7d97a..a579a0f 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) { |