diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/hpet.c | 4 | ||||
-rw-r--r-- | drivers/pci/pci.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c index 8afba339f05a..58b0eb581114 100644 --- a/drivers/char/hpet.c +++ b/drivers/char/hpet.c | |||
@@ -868,8 +868,8 @@ int hpet_alloc(struct hpet_data *hdp) | |||
868 | do_div(temp, period); | 868 | do_div(temp, period); |
869 | hpetp->hp_tick_freq = temp; /* ticks per second */ | 869 | hpetp->hp_tick_freq = temp; /* ticks per second */ |
870 | 870 | ||
871 | printk(KERN_INFO "hpet%d: at MMIO 0x%lx (virtual 0x%p), IRQ%s", | 871 | printk(KERN_INFO "hpet%d: at MMIO 0x%lx, IRQ%s", |
872 | hpetp->hp_which, hdp->hd_phys_address, hdp->hd_address, | 872 | hpetp->hp_which, hdp->hd_phys_address, |
873 | hpetp->hp_ntimer > 1 ? "s" : ""); | 873 | hpetp->hp_ntimer > 1 ? "s" : ""); |
874 | for (i = 0; i < hpetp->hp_ntimer; i++) | 874 | for (i = 0; i < hpetp->hp_ntimer; i++) |
875 | printk("%s %d", i > 0 ? "," : "", hdp->hd_irq[i]); | 875 | printk("%s %d", i > 0 ? "," : "", hdp->hd_irq[i]); |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 8ab027886034..590f4e6f505d 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -955,13 +955,12 @@ static int __devinit pci_setup(char *str) | |||
955 | } | 955 | } |
956 | str = k; | 956 | str = k; |
957 | } | 957 | } |
958 | return 1; | 958 | return 0; |
959 | } | 959 | } |
960 | early_param("pci", pci_setup); | ||
960 | 961 | ||
961 | device_initcall(pci_init); | 962 | device_initcall(pci_init); |
962 | 963 | ||
963 | __setup("pci=", pci_setup); | ||
964 | |||
965 | #if defined(CONFIG_ISA) || defined(CONFIG_EISA) | 964 | #if defined(CONFIG_ISA) || defined(CONFIG_EISA) |
966 | /* FIXME: Some boxes have multiple ISA bridges! */ | 965 | /* FIXME: Some boxes have multiple ISA bridges! */ |
967 | struct pci_dev *isa_bridge; | 966 | struct pci_dev *isa_bridge; |