/* Enable/Disable wake up events for this serial port. Obviously, we only support this on the normal COM port.  */
static int h3xxx_uart_set_wake(struct uart_port *port, u_int enable)
/* Enable/Disable wake up events for this serial port. Obviously, we only support this on the normal COM port.  */
static int h3xxx_uart_set_wake(struct uart_port *port, u_int enable)
{
	int err = -EINVAL;
	if (port->mapbase == _Ser3UTCR0) {
		if (enable)
			PWER |= PWER_GPIO23 | PWER_GPIO25;
		else
			PWER &= ~(PWER_GPIO23 | PWER_GPIO25);
		err = 0;
	}
	return err;
}