MIPS: Whitespace cleanup.
Having received another series of whitespace patches I decided to do this once and for all rather than dealing with this kind of patches trickling in forever. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -69,17 +69,17 @@ static struct pci_target_address_window pci_target_window1 = {
|
||||
};
|
||||
|
||||
static struct resource pci_mem_resource = {
|
||||
.name = "PCI Memory resources",
|
||||
.start = PCI_MEM_RESOURCE_START,
|
||||
.end = PCI_MEM_RESOURCE_END,
|
||||
.flags = IORESOURCE_MEM,
|
||||
.name = "PCI Memory resources",
|
||||
.start = PCI_MEM_RESOURCE_START,
|
||||
.end = PCI_MEM_RESOURCE_END,
|
||||
.flags = IORESOURCE_MEM,
|
||||
};
|
||||
|
||||
static struct resource pci_io_resource = {
|
||||
.name = "PCI I/O resources",
|
||||
.start = PCI_IO_RESOURCE_START,
|
||||
.end = PCI_IO_RESOURCE_END,
|
||||
.flags = IORESOURCE_IO,
|
||||
.name = "PCI I/O resources",
|
||||
.start = PCI_IO_RESOURCE_START,
|
||||
.end = PCI_IO_RESOURCE_END,
|
||||
.flags = IORESOURCE_IO,
|
||||
};
|
||||
|
||||
static struct pci_controller_unit_setup vr41xx_pci_controller_unit_setup = {
|
||||
@@ -97,7 +97,7 @@ static struct pci_controller_unit_setup vr41xx_pci_controller_unit_setup = {
|
||||
};
|
||||
|
||||
static struct pci_controller vr41xx_pci_controller = {
|
||||
.pci_ops = &vr41xx_pci_ops,
|
||||
.pci_ops = &vr41xx_pci_ops,
|
||||
.mem_resource = &pci_mem_resource,
|
||||
.io_resource = &pci_io_resource,
|
||||
};
|
||||
@@ -148,7 +148,7 @@ static int __init vr41xx_pciu_init(void)
|
||||
else if ((vtclock / 2) < pci_clock_max)
|
||||
pciu_write(PCICLKSELREG, HALF_VTCLOCK);
|
||||
else if (current_cpu_data.processor_id >= PRID_VR4131_REV2_1 &&
|
||||
(vtclock / 3) < pci_clock_max)
|
||||
(vtclock / 3) < pci_clock_max)
|
||||
pciu_write(PCICLKSELREG, ONE_THIRD_VTCLOCK);
|
||||
else if ((vtclock / 4) < pci_clock_max)
|
||||
pciu_write(PCICLKSELREG, QUARTER_VTCLOCK);
|
||||
@@ -281,7 +281,7 @@ static int __init vr41xx_pciu_init(void)
|
||||
pciu_write(PCIAPCNTREG, val);
|
||||
|
||||
pciu_write(COMMANDREG, PCI_COMMAND_IO | PCI_COMMAND_MEMORY |
|
||||
PCI_COMMAND_MASTER | PCI_COMMAND_PARITY |
|
||||
PCI_COMMAND_MASTER | PCI_COMMAND_PARITY |
|
||||
PCI_COMMAND_SERR);
|
||||
|
||||
/* Clear bus error */
|
||||
|
Reference in New Issue
Block a user