From: Stefan Richter Date: Wed, 26 May 2010 00:27:44 +0000 (+1000) Subject: drm/radeon/kms: suppress a build warning (unused variable) X-Git-Tag: v2.6.35-rc1~249^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=921d98b58285805d792257e311da9e920eb5d73e;p=pandora-kernel.git drm/radeon/kms: suppress a build warning (unused variable) At least 'make CONFIG_DEBUG_SECTION_MISMATCH=y' causes drivers/gpu/drm/radeon/atombios_crtc.c: In function 'atombios_crtc_set_pll': drivers/gpu/drm/radeon/atombios_crtc.c:684: warning: 'pll' may be used uninitialized in this function which has the looks of a falso positive. Add a default: case so that gcc rests assured that all possible pll_id's are covered. Keep the present cases that fall through to the default one for self-documentation. Signed-off-by: Stefan Richter Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed