summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/psb_lid.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2012-05-03 18:07:13 +0400
committerDave Airlie <airlied@redhat.com>2012-05-07 13:58:47 +0400
commit25933ddeada7fe96a9900fe5f2ecf105fe4f367b (patch)
tree3c017e6e9e1aaf634a091d77b57eebc091113ab4 /drivers/gpu/drm/gma500/psb_lid.c
parentd839ede47a56ff5f316c88391818488f8e5913af (diff)
downloadlinux-25933ddeada7fe96a9900fe5f2ecf105fe4f367b.tar.xz
gma500: address the lid code
We need this for Poulsbo Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/psb_lid.c')
-rw-r--r--drivers/gpu/drm/gma500/psb_lid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/gma500/psb_lid.c b/drivers/gpu/drm/gma500/psb_lid.c
index b867aabe6bf3..7ff8bb2bdc23 100644
--- a/drivers/gpu/drm/gma500/psb_lid.c
+++ b/drivers/gpu/drm/gma500/psb_lid.c
@@ -29,7 +29,7 @@ static void psb_lid_timer_func(unsigned long data)
struct drm_device *dev = (struct drm_device *)dev_priv->dev;
struct timer_list *lid_timer = &dev_priv->lid_timer;
unsigned long irq_flags;
- u32 *lid_state = dev_priv->lid_state;
+ u32 __iomem *lid_state = dev_priv->opregion.lid_state;
u32 pp_status;
if (readl(lid_state) == dev_priv->lid_last_state)