diff options
| -rw-r--r-- | arch/arm/mach-omap2/serial.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 338e46a844a4..ba8a5cc8eae8 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
| @@ -608,7 +608,11 @@ static DEVICE_ATTR(sleep_timeout, 0644, sleep_timeout_show, | |||
| 608 | #define DEV_CREATE_FILE(dev, attr) WARN_ON(device_create_file(dev, attr)) | 608 | #define DEV_CREATE_FILE(dev, attr) WARN_ON(device_create_file(dev, attr)) |
| 609 | #else | 609 | #else |
| 610 | static inline void omap_uart_idle_init(struct omap_uart_state *uart) {} | 610 | static inline void omap_uart_idle_init(struct omap_uart_state *uart) {} |
| 611 | static void omap_uart_block_sleep(struct omap_uart_state *uart) {} | 611 | static void omap_uart_block_sleep(struct omap_uart_state *uart) |
| 612 | { | ||
| 613 | /* Needed to enable UART clocks when built without CONFIG_PM */ | ||
| 614 | omap_uart_enable_clocks(uart); | ||
| 615 | } | ||
| 612 | #define DEV_CREATE_FILE(dev, attr) | 616 | #define DEV_CREATE_FILE(dev, attr) |
| 613 | #endif /* CONFIG_PM */ | 617 | #endif /* CONFIG_PM */ |
| 614 | 618 | ||
