Revert "serial/8250_pci: setup-quirk workaround for the kt serial controller"
[pandora-kernel.git] / drivers / tty / serial / uartlite.c
index b908615..6cd4143 100644 (file)
@@ -569,8 +569,6 @@ static struct of_device_id ulite_of_match[] __devinitdata = {
        {}
 };
 MODULE_DEVICE_TABLE(of, ulite_of_match);
-#else /* CONFIG_OF */
-#define ulite_of_match NULL
 #endif /* CONFIG_OF */
 
 static int __devinit ulite_probe(struct platform_device *pdev)
@@ -610,7 +608,7 @@ static struct platform_driver ulite_platform_driver = {
        .driver = {
                .owner = THIS_MODULE,
                .name  = "uartlite",
-               .of_match_table = ulite_of_match,
+               .of_match_table = of_match_ptr(ulite_of_match),
        },
 };