radeon: Do not directly dereference pointers to BIOS area.
commitf2c9e560b406f2f6b14b345c7da33467dee9cdf2
authorDavid Miller <davem@davemloft.net>
Thu, 19 Mar 2015 03:18:40 +0000 (18 23:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Mar 2015 14:17:42 +0000 (27 10:17 -0400)
treec16c0f4d703120ee1230db0846eeabc39beefcf8
parent3899ca844b82fb201fb764f56eec483acb59a29c
radeon: Do not directly dereference pointers to BIOS area.

Use readb() and memcpy_fromio() accessors instead.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_bios.c