lkml.org 
[lkml]   [2009]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 10/13] cris: Fixup last users of irq_chip->typename
    The typename member of struct irq_chip was kept for migration purposes
    and is obsolete since more than 2 years. Fix up the leftovers.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Cc: Mikael Starvik <starvik@axis.com>
    Cc: Jesper Nilsson <jesper.nilsson@axis.com>
    Cc: linux-cris-kernel@axis.com
    ---
    arch/cris/arch-v10/kernel/irq.c | 2 +-
    arch/cris/arch-v32/kernel/irq.c | 2 +-
    arch/cris/kernel/irq.c | 2 +-
    3 files changed, 3 insertions(+), 3 deletions(-)

    Index: linux-2.6/arch/cris/arch-v10/kernel/irq.c
    ===================================================================
    --- linux-2.6.orig/arch/cris/arch-v10/kernel/irq.c
    +++ linux-2.6/arch/cris/arch-v10/kernel/irq.c
    @@ -133,7 +133,7 @@ static void end_crisv10_irq(unsigned int
    }

    static struct irq_chip crisv10_irq_type = {
    - .typename = "CRISv10",
    + .name = "CRISv10",
    .startup = startup_crisv10_irq,
    .shutdown = shutdown_crisv10_irq,
    .enable = enable_crisv10_irq,
    Index: linux-2.6/arch/cris/arch-v32/kernel/irq.c
    ===================================================================
    --- linux-2.6.orig/arch/cris/arch-v32/kernel/irq.c
    +++ linux-2.6/arch/cris/arch-v32/kernel/irq.c
    @@ -336,7 +336,7 @@ int set_affinity_crisv32_irq(unsigned in
    }

    static struct irq_chip crisv32_irq_type = {
    - .typename = "CRISv32",
    + .name = "CRISv32",
    .startup = startup_crisv32_irq,
    .shutdown = shutdown_crisv32_irq,
    .enable = enable_crisv32_irq,
    Index: linux-2.6/arch/cris/kernel/irq.c
    ===================================================================
    --- linux-2.6.orig/arch/cris/kernel/irq.c
    +++ linux-2.6/arch/cris/kernel/irq.c
    @@ -63,7 +63,7 @@ int show_interrupts(struct seq_file *p,
    for_each_online_cpu(j)
    seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
    #endif
    - seq_printf(p, " %14s", irq_desc[i].chip->typename);
    + seq_printf(p, " %14s", irq_desc[i].chip->name);
    seq_printf(p, " %s", action->name);

    for (action=action->next; action; action = action->next)



    \
     
     \ /
      Last update: 2009-11-17 23:55    [W:0.023 / U:59.900 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site