tty: cyclades, plx9060 casts cleanup
authorJiri Slaby <jirislaby@gmail.com>
Thu, 11 Jun 2009 11:29:27 +0000 (12:29 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:50:57 +0000 (08:50 -0700)
commit97e87f8ebe978e881c7325ba490574bd5500b133
tree272dea45cc1a3d020a9290c46fbdf7ec866fbd34
parent5ba5a5d21204f61ff655b322a90ed91c75194e4b
tty: cyclades, plx9060 casts cleanup

Remove ugly all-over-the-code casts of ctl_addr to 9060 space.
Add an union to the cyclades_card structure, which contains
a pointer to both 9050 and 9060 spaces.

The 9050 space layout is unknown, so let it still as a void
__iomem pointer.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/cyclades.c
include/linux/cyclades.h