]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdc1607b92593eb5a98fbbec95db75a2d553fb792
tree272dea45cc1a3d020a9290c46fbdf7ec866fbd34
parentd6f0f037b9bcbf526d7bff9dfcabeea34f9f2aa4
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