cris: fix a build error in sync_serial_open()
authorWANG Cong <xiyou.wangcong@gmail.com>
Wed, 3 Aug 2011 23:21:14 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 Aug 2011 00:25:21 +0000 (14:25 -1000)
commit4b851d88192c22cf77418a0b4c45b5c789276837
tree6bc0f1927642398a1df3bc1559d91a52d882435a
parentd4969213f9e75ec1bfa6ea65c279c64cab7d1bd6
cris: fix a build error in sync_serial_open()

Fix:

  arch/cris/arch-v10/drivers/sync_serial.c:628: error: 'ret' undeclared (first use in this function)

'ret' should be 'err'.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/cris/arch-v10/drivers/sync_serial.c