summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-10-20 16:04:12 +0100
committerAnatolij Gustschin <agust@denx.de>2015-10-22 14:36:53 +0200
commit7e610890b554951dc9afa20d22573761ca2915d6 (patch)
tree4b7d8020988087b25604c1d0ba67c6d53d5c5f1a /arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
parent353169acf1858bb2dc3f91475dafabce547de14c (diff)
powerpc: platforms: mpc52xx_lpbfifo: 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: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c')
-rw-r--r--arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
index 251dcb90ef34..7bb42a0100de 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
@@ -568,6 +568,7 @@ static const struct of_device_id mpc52xx_lpbfifo_match[] = {
{ .compatible = "fsl,mpc5200-lpbfifo", },
{},
};
+MODULE_DEVICE_TABLE(of, mpc52xx_lpbfifo_match);
static struct platform_driver mpc52xx_lpbfifo_driver = {
.driver = {