diff options
Diffstat (limited to 'arch/i386/kernel/reboot_fixups.c')
-rw-r--r-- | arch/i386/kernel/reboot_fixups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/reboot_fixups.c b/arch/i386/kernel/reboot_fixups.c index 1b183b378c2c..c9b87330aeea 100644 --- a/arch/i386/kernel/reboot_fixups.c +++ b/arch/i386/kernel/reboot_fixups.c | |||
@@ -44,7 +44,7 @@ void mach_reboot_fixups(void) | |||
44 | 44 | ||
45 | for (i=0; i < (sizeof(fixups_table)/sizeof(fixups_table[0])); i++) { | 45 | for (i=0; i < (sizeof(fixups_table)/sizeof(fixups_table[0])); i++) { |
46 | cur = &(fixups_table[i]); | 46 | cur = &(fixups_table[i]); |
47 | dev = pci_get_device(cur->vendor, cur->device, 0); | 47 | dev = pci_get_device(cur->vendor, cur->device, NULL); |
48 | if (!dev) | 48 | if (!dev) |
49 | continue; | 49 | continue; |
50 | 50 | ||