diff options
author | Maciej W. Rozycki <[email protected]> | 2008-02-07 00:15:15 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2008-02-07 08:42:24 -0800 |
commit | f5519caad5c1828b2ab6d14bd9e7a8e047db12e3 (patch) | |
tree | f5a6c29abc9b4b36da93b79372024c21640e66d2 /arch/m32r/boot/compressed/m32r_sio.c | |
parent | ff11d0780376a3821d790a6ceb8b297d976b14fe (diff) |
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 <[email protected]>
Cc: Ralf Baechle <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/m32r/boot/compressed/m32r_sio.c')
0 files changed, 0 insertions, 0 deletions