]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Documentation/sparc/sbus_drivers.txt
PCI: fix pci_setup_device()'s sprinting into a const buffer
[linux-2.6-omap-h63xx.git] / Documentation / sparc / sbus_drivers.txt
index 8418d35484fc850b28ec0744a1b8aa4751d8d2b2..eb1e28ad8822f32421db93dd211f1e2be0084488 100644 (file)
@@ -67,10 +67,12 @@ probe in an SBUS driver under Linux:
        MODULE_DEVICE_TABLE(of, mydevice_match);
 
        static struct of_platform_driver mydevice_driver = {
-               .name           = "mydevice",
                .match_table    = mydevice_match,
                .probe          = mydevice_probe,
                .remove         = __devexit_p(mydevice_remove),
+               .driver         = {
+                       .name           = "mydevice",
+               },
        };
 
        static int __init mydevice_init(void)