cris: fix a build error in drivers/tty/serial/crisv10.c
authorWANG Cong <xiyou.wangcong@gmail.com>
Thu, 1 Sep 2011 05:58:29 +0000 (13:58 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Sep 2011 22:50:30 +0000 (15:50 -0700)
commit2f7861de111bb8e33e6ab9f9607583c6fbc00132
tree2079a06d4b288fdb6f900e50c5ffde78301c1af1
parentee160a38eee357ed2572cf41437d5814ce53c839
cris: fix a build error in drivers/tty/serial/crisv10.c

This patch fixes the following build error:

drivers/tty/serial/crisv10.c:4453: error: 'if_ser0' undeclared (first use in this function): 2 errors in 2 logs
        v3.1-rc4/cris/cris-allmodconfig v3.1-rc4/cris/cris-allyesconfig
drivers/tty/serial/crisv10.c:4453: error: (Each undeclared identifier is reported only once: 2 errors in 2 logs
        v3.1-rc4/cris/cris-allmodconfig v3.1-rc4/cris/cris-allyesconfig
drivers/tty/serial/crisv10.c:4453: error: for each function it appears in.): 2 errors in 2 logs
        v3.1-rc4/cris/cris-allmodconfig v3.1-rc4/cris/cris-allyesconfig

"if_ser0" is a typo, it should be "if_serial_0".

Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/crisv10.c