|
@@ -199,6 +199,7 @@ static inline void serial_omap_clear_fifos(struct uart_omap_port *up)
|
|
serial_out(up, UART_FCR, 0);
|
|
serial_out(up, UART_FCR, 0);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PM
|
|
static int serial_omap_get_context_loss_count(struct uart_omap_port *up)
|
|
static int serial_omap_get_context_loss_count(struct uart_omap_port *up)
|
|
{
|
|
{
|
|
struct omap_uart_port_info *pdata = dev_get_platdata(up->dev);
|
|
struct omap_uart_port_info *pdata = dev_get_platdata(up->dev);
|
|
@@ -219,6 +220,7 @@ static void serial_omap_enable_wakeup(struct uart_omap_port *up, bool enable)
|
|
|
|
|
|
pdata->enable_wakeup(up->dev, enable);
|
|
pdata->enable_wakeup(up->dev, enable);
|
|
}
|
|
}
|
|
|
|
+#endif /* CONFIG_PM */
|
|
|
|
|
|
/*
|
|
/*
|
|
* Calculate the absolute difference between the desired and actual baud
|
|
* Calculate the absolute difference between the desired and actual baud
|