diff options
Diffstat (limited to 'drivers/serial/pxa.c')
-rw-r--r-- | drivers/serial/pxa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/serial/pxa.c b/drivers/serial/pxa.c index 90c2a86c421b..7999686d7b47 100644 --- a/drivers/serial/pxa.c +++ b/drivers/serial/pxa.c | |||
@@ -786,21 +786,21 @@ static struct uart_driver serial_pxa_reg = { | |||
786 | .cons = PXA_CONSOLE, | 786 | .cons = PXA_CONSOLE, |
787 | }; | 787 | }; |
788 | 788 | ||
789 | static int serial_pxa_suspend(struct device *_dev, pm_message_t state, u32 level) | 789 | static int serial_pxa_suspend(struct device *_dev, pm_message_t state) |
790 | { | 790 | { |
791 | struct uart_pxa_port *sport = dev_get_drvdata(_dev); | 791 | struct uart_pxa_port *sport = dev_get_drvdata(_dev); |
792 | 792 | ||
793 | if (sport && level == SUSPEND_DISABLE) | 793 | if (sport) |
794 | uart_suspend_port(&serial_pxa_reg, &sport->port); | 794 | uart_suspend_port(&serial_pxa_reg, &sport->port); |
795 | 795 | ||
796 | return 0; | 796 | return 0; |
797 | } | 797 | } |
798 | 798 | ||
799 | static int serial_pxa_resume(struct device *_dev, u32 level) | 799 | static int serial_pxa_resume(struct device *_dev) |
800 | { | 800 | { |
801 | struct uart_pxa_port *sport = dev_get_drvdata(_dev); | 801 | struct uart_pxa_port *sport = dev_get_drvdata(_dev); |
802 | 802 | ||
803 | if (sport && level == RESUME_ENABLE) | 803 | if (sport) |
804 | uart_resume_port(&serial_pxa_reg, &sport->port); | 804 | uart_resume_port(&serial_pxa_reg, &sport->port); |
805 | 805 | ||
806 | return 0; | 806 | return 0; |