]> git.karo-electronics.de Git - linux-beck.git/commit
serial: ioc4_serial: Staticize ioc4_serial_attach_one()
authorJingoo Han <jg1.han@samsung.com>
Thu, 8 Aug 2013 08:36:27 +0000 (17:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 18:35:32 +0000 (11:35 -0700)
commit1053f4da626374ae5f4695a62e2814584c2bc2e2
treec3654b97fffcf50f79a13dddd3c3c6a45048bbd6
parent5a7daed81cd5ff6d4098b7f6342ba35988fcbb86
serial: ioc4_serial: Staticize ioc4_serial_attach_one()

ioc4_serial_attach_one() is used only in this file.
Also, ioc4_serial is not used; it can be removed.
Fix the following sparse warnings:

drivers/tty/serial/ioc4_serial.c:300:3: warning: symbol 'ioc4_serial' was not declared. Should it be static?
drivers/tty/serial/ioc4_serial.c:2771:1: warning: symbol 'ioc4_serial_attach_one' was not declared. Should it be static?

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Patrick Gefre <pfg@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ioc4_serial.c