[PATCH] sparse cleanups: NULL pointers, C99 struct init.
[deliverable/linux.git] / arch / i386 / kernel / reboot_fixups.c
index 1b183b378c2c269ac06c05d2ba622fe0dad0884a..c9b87330aeeacfb49009faa725f51c1343d3a308 100644 (file)
@@ -44,7 +44,7 @@ void mach_reboot_fixups(void)
 
        for (i=0; i < (sizeof(fixups_table)/sizeof(fixups_table[0])); i++) {
                cur = &(fixups_table[i]);
-               dev = pci_get_device(cur->vendor, cur->device, 0);
+               dev = pci_get_device(cur->vendor, cur->device, NULL);
                if (!dev)
                        continue;
 
This page took 0.023988 seconds and 5 git commands to generate.