memory: fsl-corenet: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Sun, 4 Oct 2015 16:23:48 +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>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/memory/fsl-corenet-cf.c

index d708ded..662d050 100644 (file)
@@ -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 */