rt2x00: make csr_cache and csr_addr an union
authorIvo van Doorn <ivdoorn@gmail.com>
Sun, 10 Feb 2008 21:49:13 +0000 (22:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 29 Feb 2008 20:37:19 +0000 (15:37 -0500)
commit21795094e2b71b4b11bfb468321046c1336cef69
treede99ccc0f93ba165574db3b55fd9c0839dd65bed
parentf590f48e87d1e61c03f01fa15be00e852c05426d
rt2x00: make csr_cache and csr_addr an union

The csr_cache and csr_addr pointers are both the same size
and they are never used both by the same driver. This makes
them a nice candidate for an union.
We could merge into 1 pointer, but that would either upset sparse,
or require a lot of __force casts.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00pci.c
drivers/net/wireless/rt2x00/rt2x00pci.h
drivers/net/wireless/rt2x00/rt2x00usb.c