aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-13 19:06:50 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-01-19 12:39:38 +0000
commit311bd68e024f9006db66cbadc3bd9f62fd663f4b (patch)
treeb4092a6de5015d58bde98b2efc0c6f5b95ffe2c7 /drivers/gpu/drm/i915/i915_drv.c
parent18b2190ca5bd3f19717421b1591c79c9b0372428 (diff)
downloadkernel_samsung_smdk4412-311bd68e024f9006db66cbadc3bd9f62fd663f4b.zip
kernel_samsung_smdk4412-311bd68e024f9006db66cbadc3bd9f62fd663f4b.tar.gz
kernel_samsung_smdk4412-311bd68e024f9006db66cbadc3bd9f62fd663f4b.tar.bz2
drm/i915: Trivial sparse fixes
Move code around and invoke iomem annotation in a few more places in order to silence sparse. Still a few more iomem annotations to go... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 72fea2b..2d31f5f 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -52,7 +52,7 @@ module_param_named(lvds_downclock, i915_lvds_downclock, int, 0400);
unsigned int i915_panel_use_ssc = 1;
module_param_named(lvds_use_ssc, i915_panel_use_ssc, int, 0600);
-bool i915_try_reset = true;
+static bool i915_try_reset = true;
module_param_named(reset, i915_try_reset, bool, 0600);
static struct drm_driver driver;