]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/iio/light/cm36651.c
iio: Export OF module alias information in missing drivers
[karo-tx-linux.git] / drivers / iio / light / cm36651.c
index 39fc67e82138470a1f8523d7de2902f072603a6f..c8d7b5ea7e78c880b7bfc1cc1ff829c8c4c4b8aa 100644 (file)
@@ -731,12 +731,12 @@ static const struct of_device_id cm36651_of_match[] = {
        { .compatible = "capella,cm36651" },
        { }
 };
+MODULE_DEVICE_TABLE(of, cm36651_of_match);
 
 static struct i2c_driver cm36651_driver = {
        .driver = {
                .name   = "cm36651",
                .of_match_table = cm36651_of_match,
-               .owner  = THIS_MODULE,
        },
        .probe          = cm36651_probe,
        .remove         = cm36651_remove,