lkml.org 
[lkml]   [2012]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 16/23] serial: omap: drop "inline" from IRQ handler prototype
    Date
    it makes no sense to mark our IRQ handler inline
    since it's passed as a function pointer when
    enabling the IRQ line.

    Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
    Signed-off-by: Felipe Balbi <balbi@ti.com>
    ---
    drivers/tty/serial/omap-serial.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
    index bdfd019..ba22247 100644
    --- a/drivers/tty/serial/omap-serial.c
    +++ b/drivers/tty/serial/omap-serial.c
    @@ -344,7 +344,7 @@ static void serial_omap_rdi(struct uart_omap_port *up, unsigned int lsr)
    * @irq: uart port irq number
    * @dev_id: uart port info
    */
    -static inline irqreturn_t serial_omap_irq(int irq, void *dev_id)
    +static irqreturn_t serial_omap_irq(int irq, void *dev_id)
    {
    struct uart_omap_port *up = dev_id;
    struct tty_struct *tty = up->port.state->port.tty;
    --
    1.7.12.rc3


    \
     
     \ /
      Last update: 2012-08-23 13:21    [W:3.189 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site