serial: omap: optimization with section annotations
authorFelipe Balbi <balbi@ti.com>
Thu, 6 Sep 2012 12:45:32 +0000 (15:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:17:02 +0000 (09:17 -0700)
commit6d608ef351bbd0b49427b5b6c6ec6d7622bc0d22
tree589904448c16f855cf35e9cbd89c7770b70dbd42
parent856e35bf596e83a63c8a9ec749e9f2bcd24a1bdd
serial: omap: optimization with section annotations

Two functions:
omap_serial_fill_features_erratas() and
of_get_uart_port_info() are only called from probe().
Marking them as __devinit gives us another
oportunity to free some code after .init.text
is done.

Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c