summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/udl
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-02 18:24:59 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-07-02 18:24:59 +0100
commit744c62eb65a1c3bb2196ded1a1d2922cf6f2ce80 (patch)
treee7c47e2e9aa8f6184cb5b20bde2e4fda96a3bb59 /drivers/gpu/drm/udl
parentf141822b15635daa94610c5527806fa315f59f4d (diff)
parent6887a4131da3adaab011613776d865f4bcfb5678 (diff)
Merge tag 'v3.5-rc5' into regulator-drivers
Linux 3.5-rc5 collides with further development. Conflicts: drivers/regulator/tps65023-regulator.c
Diffstat (limited to 'drivers/gpu/drm/udl')
-rw-r--r--drivers/gpu/drm/udl/udl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_main.c b/drivers/gpu/drm/udl/udl_main.c
index a8d5f09428c7..4c2d836a0893 100644
--- a/drivers/gpu/drm/udl/udl_main.c
+++ b/drivers/gpu/drm/udl/udl_main.c
@@ -61,7 +61,7 @@ static int udl_parse_vendor_descriptor(struct drm_device *dev,
u8 length;
u16 key;
- key = *((u16 *) desc);
+ key = le16_to_cpu(*((u16 *) desc));
desc += sizeof(u16);
length = *desc;
desc++;