Maciej W. Rozycki f5519caad5 dz.c: Use a helper to cast from "struct uart_port *"
Replace all casts from "struct uart_port *" to "struct dz_port *" with a
construct based on container_of().  This makes the conversion work
irrespective of where the former struct is located within the latter.

By popular request I have implemented it as an inline function rather than
a macro this time.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-07 08:42:24 -08:00
..
2007-10-17 08:42:52 -07:00
2008-02-05 09:44:10 -08:00
2008-02-05 09:44:10 -08:00
2008-02-04 13:14:06 +00:00
2007-10-19 11:53:42 -07:00
2006-12-08 08:28:57 -08:00
2007-11-14 18:45:46 -08:00
2007-11-14 18:45:46 -08:00
2008-02-03 14:47:38 +02:00
2007-11-29 09:24:53 -08:00
2008-02-07 08:42:24 -08:00
2008-02-03 17:29:25 +02:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:52 -08:00
2006-12-08 08:28:57 -08:00
2007-09-11 17:21:19 -07:00
2006-12-08 08:28:57 -08:00
2007-07-18 08:38:22 -07:00
2007-07-18 08:38:22 -07:00