lkml.org 
[lkml]   [2011]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 4/7] mn10300: Convert serial irq_chip to new functions
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    arch/mn10300/kernel/mn10300-serial.c | 15 ++++++++++-----
    1 file changed, 10 insertions(+), 5 deletions(-)

    Index: linux-next/arch/mn10300/kernel/mn10300-serial.c
    ===================================================================
    --- linux-next.orig/arch/mn10300/kernel/mn10300-serial.c
    +++ linux-next/arch/mn10300/kernel/mn10300-serial.c
    @@ -384,16 +384,21 @@ static void mn10300_serial_mask_ack(unsi
    arch_local_irq_restore(flags);
    }

    -static void mn10300_serial_nop(unsigned int irq)
    +static void mn10300_serial_chip_mask_ack(struct irq_data *d)
    +{
    + mn10300_serial_mask_ack(d->irq);
    +}
    +
    +static void mn10300_serial_nop(struct irq_data *d
    {
    }

    static struct irq_chip mn10300_serial_pic = {
    .name = "mnserial",
    - .ack = mn10300_serial_mask_ack,
    - .mask = mn10300_serial_mask_ack,
    - .mask_ack = mn10300_serial_mask_ack,
    - .unmask = mn10300_serial_nop,
    + .irq_ack = mn10300_serial_chip_mask_ack,
    + .irq_mask = mn10300_serial_chip_mask_ack,
    + .irq_mask_ack = mn10300_serial_chip_mask_ack,
    + .irq_unmask = mn10300_serial_nop,
    };





    \
     
     \ /
      Last update: 2011-02-06 22:49    [W:0.020 / U:0.320 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site