diff options
author | Andres Salomon <dilinger@queued.net> | 2008-04-28 05:15:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:36 -0400 |
commit | 9f1277bd1497858a05a80222a6e98f9c43343491 (patch) | |
tree | 8fccb34af16de101fbf43582d8c40611cc3765d5 /drivers/video/geode/video_gx.c | |
parent | d255114f22e19b50cf45fcc70963e6a9f287ad40 (diff) |
gxfb: move MSR bit fields into gxfb.h
This continues the gxfb header cleanups. MSRs are defined in geode.h; the
specific bits we care about are defined in gxfb.h.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/geode/video_gx.c')
-rw-r--r-- | drivers/video/geode/video_gx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/geode/video_gx.c b/drivers/video/geode/video_gx.c index 1b98b7b4e853..1e26bc422461 100644 --- a/drivers/video/geode/video_gx.c +++ b/drivers/video/geode/video_gx.c | |||
@@ -187,8 +187,8 @@ gx_configure_tft(struct fb_info *info) | |||
187 | /* Set up the DF pad select MSR */ | 187 | /* Set up the DF pad select MSR */ |
188 | 188 | ||
189 | rdmsrl(MSR_GX_MSR_PADSEL, val); | 189 | rdmsrl(MSR_GX_MSR_PADSEL, val); |
190 | val &= ~GX_VP_PAD_SELECT_MASK; | 190 | val &= ~MSR_GX_MSR_PADSEL_MASK; |
191 | val |= GX_VP_PAD_SELECT_TFT; | 191 | val |= MSR_GX_MSR_PADSEL_TFT; |
192 | wrmsrl(MSR_GX_MSR_PADSEL, val); | 192 | wrmsrl(MSR_GX_MSR_PADSEL, val); |
193 | 193 | ||
194 | /* Turn off the panel */ | 194 | /* Turn off the panel */ |