diff options
author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-01-16 14:22:37 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-25 02:11:06 +0400 |
commit | b5148856a2f732e7e99edad22bb8e2037af28ad3 (patch) | |
tree | 00087969bd2d8c01f00ff228f3e5ed7131e71484 /fs/namespace.c | |
parent | 3bc4f0d8f65b396d214a31195a91c0394c5bf628 (diff) | |
download | linux-b5148856a2f732e7e99edad22bb8e2037af28ad3.tar.xz |
omap-serial: make serial_omap_restore_context depend on CONFIG_PM_RUNTIME
The function serial_omap_restore_context is called only from
serial_omap_runtime_resume which depends on CONFIG_PM_RUNTIME. Make
serial_omap_restore_context also compile conditionally.
if CONFIG_PM_RUNTIME is not defined below warn may be seen.
LD net/xfrm/built-in.o
drivers/tty/serial/omap-serial.c:1524: warning: 'serial_omap_restore_context' defined but not used
CC drivers/tty/vt/selection.o
Acked-by: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/namespace.c')
0 files changed, 0 insertions, 0 deletions