From: Shaohua Li Date: Wed, 18 Nov 2009 07:15:02 +0000 (+0800) Subject: drm/i915: fix gpio register detection logic for BIOS without VBT X-Git-Tag: v2.6.33-rc1~323^2~5^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29874f44fbcbc24b231b42c9956f8f9de9407231;p=pandora-kernel.git drm/i915: fix gpio register detection logic for BIOS without VBT if no VBT is present, crt_ddc_bus will be left at 0, and cause us to use that for the GPIO register offset. That's never a valid register offset, so let the "undefined" value be 0 instead of -1. Signed-off-by: Shaohua Li Signed-off-by: Zhao Yakui Signed-off-by: Eric Anholt [anholt: clarified the commit message a bit] --- Reading git-diff-tree failed