diff options
author | Andrea Merello <andrea.merello@gmail.com> | 2014-03-28 21:12:08 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-31 21:47:41 +0400 |
commit | aabcaa8b4994b935ae54a902afc7b0c3d89098a6 (patch) | |
tree | 766ba80b3b629f60d606419e7b763f6fb5aa26c2 /drivers/spi | |
parent | 2a54eb5e1476426ee639bbfbe179b52342a0d82c (diff) | |
download | linux-aabcaa8b4994b935ae54a902afc7b0c3d89098a6.tar.xz |
rtl8187: fix compile warning
ANAPARAM3 register, defined in the rtl818x common register
struct, is accessed as 16bit by rtl8187se and as 8bit by rtl8187b.
Since I have no documentation about this, I can only stick to
the reference code and to what is known to work.
This issue has been addressed by a patch from Larry Finger
that introduces an "union", in the register struct.
In my last patch-set I applied it on the register struct, but
I forget to update rtl8187 driver too.
This patch does it.
Suggested-by: Larry Finger <Larry.Finger@lwfinger.net> [ Original patch ]
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions