summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 13:08:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-04 12:32:25 +0100
commit0049ef9c8d44e46d042e463fb74e120efe7640f2 (patch)
tree159824dd28832e82730582ff859ae741ffbc0a4d /drivers
parent7e532f7925f1758369c7963297baceac3cbaefc1 (diff)
uio: uio_fsl_elbc_gpcm: 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 <luis@debethencourt.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/uio/uio_fsl_elbc_gpcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uio/uio_fsl_elbc_gpcm.c b/drivers/uio/uio_fsl_elbc_gpcm.c
index 2bcf80c159c1..b46323d9dc18 100644
--- a/drivers/uio/uio_fsl_elbc_gpcm.c
+++ b/drivers/uio/uio_fsl_elbc_gpcm.c
@@ -470,6 +470,7 @@ static const struct of_device_id uio_fsl_elbc_gpcm_match[] = {
{ .compatible = "fsl,elbc-gpcm-uio", },
{}
};
+MODULE_DEVICE_TABLE(of, uio_fsl_elbc_gpcm_match);
static struct platform_driver uio_fsl_elbc_gpcm_driver = {
.driver = {