]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gma500: fix build warning
authorDave Airlie <airlied@redhat.com>
Thu, 17 May 2012 10:17:33 +0000 (11:17 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 17 May 2012 10:17:33 +0000 (11:17 +0100)
commit0333592ff9e936c6e5ae143e7418468a3198b54d
tree8280eb8f205e8e4c4abf8e62e9dfc2bde6566d91
parentfcf92202e7bc2e8513ae045e3ec61e79c1c9e690
gma500: fix build warning

 CC [M]  drivers/gpu/drm/i915/i915_gem_evict.o
/ssd/git/drm-core-next/drivers/gpu/drm/gma500/psb_device.c: In function ‘psb_chip_errata’:
/ssd/git/drm-core-next/drivers/gpu/drm/gma500/psb_device.c:360:1: warning: no return statement in function returning non-void [-Wreturn-type]
/ssd/git/drm-core-next/drivers/gpu/drm/gma500/psb_device.c: At top level:
/ssd/git/drm-core-next/drivers/gpu/drm/gma500/psb_device.c:379:2: warning: initialization from incompatible pointer type [enabled by default]
/ssd/git/drm-core-next/drivers/gpu/drm/gma500/psb_device.c:379:2: warning: (near initialization for ‘psb_chip_ops.errata’) [enabled by default]

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/psb_device.c