]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd73e1a05e16f890ca8966bea0b2562cd8dc0c76a
tree589904448c16f855cf35e9cbd89c7770b70dbd42
parent10d5698ca3cd270e91e9278bb389b7dc1bd62b38
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