]> Pileus Git - ~andy/linux/commit
drm/radeon/dpm: fix incompatible casting on big endian
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Oct 2013 20:13:42 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Oct 2013 20:25:18 +0000 (16:25 -0400)
commitcdf6e8058415ba4d808537e30a0a6be9fb29e95a
tree9ce8ecf12c509ae70e0158ce96bc147e900a276b
parentd48d88b21ede7990702b990bc36262c3d5fd7a1f
drm/radeon/dpm: fix incompatible casting on big endian

We use u16 for voltage values throughout the driver so switch
the table values to a u16 as well.  Fixes an incompatible
cast error in ci_patch_clock_voltage_limits_with_vddc_leakage()
picked up by coverity.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h