]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/char/xilinx_hwicap/xilinx_hwicap.c
of: Remove duplicate fields from of_platform_driver
[karo-tx-linux.git] / drivers / char / xilinx_hwicap / xilinx_hwicap.c
index 5a0a31e2029cd851c97489031db62aa1ef2d4ca4..ed8a9cec2a05ebefc7b171828bd08b2b6a677e1c 100644 (file)
@@ -812,13 +812,12 @@ static const struct of_device_id __devinitconst hwicap_of_match[] = {
 MODULE_DEVICE_TABLE(of, hwicap_of_match);
 
 static struct of_platform_driver hwicap_of_driver = {
-       .owner = THIS_MODULE,
-       .name = DRIVER_NAME,
-       .match_table = hwicap_of_match,
        .probe = hwicap_of_probe,
        .remove = __devexit_p(hwicap_of_remove),
        .driver = {
                .name = DRIVER_NAME,
+               .owner = THIS_MODULE,
+               .of_match_table = hwicap_of_match,
        },
 };