summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2008-02-07 09:15:15 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 17:42:24 +0100
commitf5519caad5c1828b2ab6d14bd9e7a8e047db12e3 (patch)
treef5a6c29abc9b4b36da93b79372024c21640e66d2 /arch
parentdz: clean up and improve the setup of termios settings (diff)
downloadlinux-f5519caad5c1828b2ab6d14bd9e7a8e047db12e3.tar.xz
linux-f5519caad5c1828b2ab6d14bd9e7a8e047db12e3.zip
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions