Commit cd8d1252 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] PCI debug compile fix in sis_router_probe()

From: Pavel Roskin <proski@gnu.org>

I get a compile error when I define "DEBUG" in arch/i386/pci/pci.h.  Variable
rt is not defined in sis_router_probe(), file arch/i386/pci/irq.c.
parent 7dd692fc
...@@ -541,8 +541,6 @@ static __init int sis_router_probe(struct irq_router *r, struct pci_dev *router, ...@@ -541,8 +541,6 @@ static __init int sis_router_probe(struct irq_router *r, struct pci_dev *router,
r->name = "SIS"; r->name = "SIS";
r->get = pirq_sis_get; r->get = pirq_sis_get;
r->set = pirq_sis_set; r->set = pirq_sis_set;
DBG("PCI: Detecting SiS router at %02x:%02x\n",
rt->rtr_bus, rt->rtr_devfn);
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment