File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -166,11 +166,6 @@ static u32 uart_read(struct omap8250_priv *priv, u32 reg)
166
166
return readl (priv -> membase + (reg << OMAP_UART_REGSHIFT ));
167
167
}
168
168
169
- static void uart_write (struct omap8250_priv * priv , u32 reg , u32 val )
170
- {
171
- writel (val , priv -> membase + (reg << OMAP_UART_REGSHIFT ));
172
- }
173
-
174
169
/*
175
170
* Called on runtime PM resume path from omap8250_restore_regs(), and
176
171
* omap8250_set_mctrl().
@@ -1666,6 +1661,11 @@ static int omap8250_lost_context(struct uart_8250_port *up)
1666
1661
return 0 ;
1667
1662
}
1668
1663
1664
+ static void uart_write (struct omap8250_priv * priv , u32 reg , u32 val )
1665
+ {
1666
+ writel (val , priv -> membase + (reg << OMAP_UART_REGSHIFT ));
1667
+ }
1668
+
1669
1669
/* TODO: in future, this should happen via API in drivers/reset/ */
1670
1670
static int omap8250_soft_reset (struct device * dev )
1671
1671
{
You can’t perform that action at this time.
0 commit comments