提交 52c5513d 编写于 作者: F Felipe Balbi 提交者: Greg Kroah-Hartman

serial: omap: drop "inline" from IRQ handler prototype

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: NShubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 6d608ef3
...@@ -345,7 +345,7 @@ static void serial_omap_rdi(struct uart_omap_port *up, unsigned int lsr) ...@@ -345,7 +345,7 @@ static void serial_omap_rdi(struct uart_omap_port *up, unsigned int lsr)
* @irq: uart port irq number * @irq: uart port irq number
* @dev_id: uart port info * @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 uart_omap_port *up = dev_id;
struct tty_struct *tty = up->port.state->port.tty; struct tty_struct *tty = up->port.state->port.tty;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册