From: Andrea Merello Date: Fri, 28 Mar 2014 17:12:08 +0000 (+0100) Subject: rtl8187: fix compile warning X-Git-Tag: v3.15-rc1~113^2~18^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aabcaa8b4994b935ae54a902afc7b0c3d89098a6;p=pandora-kernel.git 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 [ Original patch ] Signed-off-by: Andrea Merello Signed-off-by: John W. Linville --- Reading git-diff-tree failed