memory: ti-aemif: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Sun, 4 Oct 2015 16:23:49 +0000 (17:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2015 03:44:11 +0000 (04:44 +0100)
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>
drivers/memory/ti-aemif.c

index ca7d97a..a579a0f 100644 (file)
@@ -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)
 {