]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/radeon/kms: fix up for BIG ENDIAN breakage
authorDave Airlie <airlied@redhat.com>
Tue, 29 Nov 2011 11:42:50 +0000 (11:42 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 29 Nov 2011 11:42:50 +0000 (11:42 +0000)
commit435ddd926e880f14ea2ae37062b9b45231d7fdf9
tree3aab0acdcb71647bca8f246175bb80eb3235dcc9
parent1595c568c9237d1b1371ef3a2a2d98d231b1b59b
drm/radeon/kms: fix up for BIG ENDIAN breakage

Commit 308e5bcbdb10 ("drm: add an fb creation ioctl that takes a pixel
format v5") missed one spot needing to be fixed up in the __BIG_ENDIAN
case.

Fixes build error:

drivers/gpu/drm/radeon/radeon_fb.c: In function
'radeonfb_create_pinned_object':
drivers/gpu/drm/radeon/radeon_fb.c:144:18: error: 'struct drm_mode_fb_cmd2'
has no member named 'bpp'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fb.c