m68knommu: use container_of in mcf.c
commit9f69ba86d66297189916ceae401fe0944a207714
authorGreg Ungerer <gerg@snapgear.com>
Fri, 1 Feb 2008 07:38:34 +0000 (1 17:38 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Feb 2008 10:00:01 +0000 (1 21:00 +1100)
tree9dada9de4f74f87bc28917da589112aba2098973
parentc9f27c3619b3ee26b8ec47692bdd3a7ac075ad87
m68knommu: use container_of in mcf.c

Use container_of() instead of assuming local uart struct is first member
of uart_port struct.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/mcf.c