Author: Ralf Baechle <ralf@linux-mips.org>
[MIPS] MSP71xx: Fix bitrot. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
d9ba26a93a
commit
1553f6a2ca
|
@ -202,7 +202,7 @@ int pcibios_plat_dev_init(struct pci_dev *dev)
|
||||||
* RETURNS: IRQ number
|
* RETURNS: IRQ number
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
|
int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
|
||||||
{
|
{
|
||||||
#if !defined(CONFIG_PMC_MSP7120_GW) && !defined(CONFIG_PMC_MSP7120_EVAL)
|
#if !defined(CONFIG_PMC_MSP7120_GW) && !defined(CONFIG_PMC_MSP7120_EVAL)
|
||||||
printk(KERN_WARNING "PCI: unknown board, no PCI IRQs assigned.\n");
|
printk(KERN_WARNING "PCI: unknown board, no PCI IRQs assigned.\n");
|
||||||
|
|
|
@ -404,7 +404,7 @@ int msp_pcibios_config_access(unsigned char access_type,
|
||||||
if (pciirqflag == 0) {
|
if (pciirqflag == 0) {
|
||||||
request_irq(MSP_INT_PCI,/* Hardcoded internal MSP7120 wiring */
|
request_irq(MSP_INT_PCI,/* Hardcoded internal MSP7120 wiring */
|
||||||
bpci_interrupt,
|
bpci_interrupt,
|
||||||
SA_SHIRQ | SA_INTERRUPT,
|
IRQF_SHARED | IRQF_DISABLED,
|
||||||
"PMC MSP PCI Host",
|
"PMC MSP PCI Host",
|
||||||
preg);
|
preg);
|
||||||
pciirqflag = ~0;
|
pciirqflag = ~0;
|
||||||
|
|
|
@ -122,7 +122,7 @@ void __init msp_serial_setup(void)
|
||||||
up.uartclk = uartclk;
|
up.uartclk = uartclk;
|
||||||
up.regshift = 2;
|
up.regshift = 2;
|
||||||
up.iotype = UPIO_DWAPB; /* UPIO_MEM like */
|
up.iotype = UPIO_DWAPB; /* UPIO_MEM like */
|
||||||
up.flags = STD_COM_FLAGS;
|
up.flags = ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST;
|
||||||
up.type = PORT_16550A;
|
up.type = PORT_16550A;
|
||||||
up.line = 0;
|
up.line = 0;
|
||||||
up.private_data = (void*)UART0_STATUS_REG;
|
up.private_data = (void*)UART0_STATUS_REG;
|
||||||
|
|
Loading…
Reference in a new issue