uio: uio_fsl_elbc_gpcm: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 3 Sep 2015 11:08:48 +0000 (13:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 11:32:25 +0000 (12:32 +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 <luis@debethencourt.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_fsl_elbc_gpcm.c

index 2bcf80c159c18ff39f7fddc05f86c363296471e6..b46323d9dc187e41bdb7ca13b48890196fcd0883 100644 (file)
@@ -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 = {