Skip to content
  • WANG Cong's avatar
    cris: fix a build error in drivers/tty/serial/crisv10.c · 2f7861de
    WANG Cong authored
    
    
    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: default avatarWANG Cong <xiyou.wangcong@gmail.com>
    Cc: stable <stable@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    2f7861de