提交 1e806c50 编写于 作者: K KOSAKI Motohiro 提交者: Linus Torvalds

m32r: fix spin_lock_irqsave() misuse

spin_lock_irqsave() requires unsigned long.
Signed-off-by: NKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 937e26c0
......@@ -907,9 +907,10 @@ static int m32r_sio_request_port(struct uart_port *port)
return ret;
}
static void m32r_sio_config_port(struct uart_port *port, int flags)
static void m32r_sio_config_port(struct uart_port *port, int unused)
{
struct uart_sio_port *up = (struct uart_sio_port *)port;
unsigned long flags;
spin_lock_irqsave(&up->port.lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册