Changeset 14790


Ignore:
Timestamp:
2009-03-08T13:43:13+01:00 (7 years ago)
Author:
florian
Message:

[brcm63xx] fix typo for the bcm6338 spi IRQ, change platform driver name and make the SPI irq be fetchable by platform driver initialization code

Location:
trunk/target/linux/brcm63xx/files
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/files/arch/mips/bcm63xx/cpu.c

    r14788 r14790  
    4646static const int bcm96338_irqs[] = { 
    4747        [IRQ_TIMER]             = BCM_6338_TIMER_IRQ, 
     48        [IRQ_SPI]               = BCM_6338_SPI_IRQ, 
    4849        [IRQ_UART0]             = BCM_6338_UART0_IRQ, 
    4950        [IRQ_DSL]               = BCM_6338_DSL_IRQ, 
     
    9697static const int bcm96348_irqs[] = { 
    9798        [IRQ_TIMER]             = BCM_6348_TIMER_IRQ, 
     99        [IRQ_SPI]               = BCM_6348_SPI_IRQ, 
    98100        [IRQ_UART0]             = BCM_6348_UART0_IRQ, 
    99101        [IRQ_DSL]               = BCM_6348_DSL_IRQ, 
     
    153155static const int bcm96358_irqs[] = { 
    154156        [IRQ_TIMER]             = BCM_6358_TIMER_IRQ, 
     157        [IRQ_SPI]               = BCM_6358_SPI_IRQ, 
    155158        [IRQ_UART0]             = BCM_6358_UART0_IRQ, 
    156159        [IRQ_DSL]               = BCM_6358_DSL_IRQ, 
  • trunk/target/linux/brcm63xx/files/arch/mips/bcm63xx/dev-spi.c

    r14787 r14790  
    3434 
    3535static struct platform_device bcm63xx_spi_device = { 
    36         .name           = "bcm63xx_spi", 
     36        .name           = "bcm63xx-spi", 
    3737        .id             = 0, 
    3838        .num_resources  = ARRAY_SIZE(spi_resources), 
  • trunk/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_cpu.h

    r14787 r14790  
    430430 */ 
    431431#define BCM_6338_TIMER_IRQ              (IRQ_INTERNAL_BASE + 0) 
    432 #define BCM_6338_SPI_IR                 (IRQ_INTERNAL_BASE + 1) 
     432#define BCM_6338_SPI_IRQ                (IRQ_INTERNAL_BASE + 1) 
    433433#define BCM_6338_UART0_IRQ              (IRQ_INTERNAL_BASE + 2) 
    434434#define BCM_6338_DG_IRQ                 (IRQ_INTERNAL_BASE + 4) 
Note: See TracChangeset for help on using the changeset viewer.