mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
cs5535: define lxfb/gxfb MSRs in linux/cs5535.h
..and include them in the lxfb/gxfb drivers rather than asm/geode.h (where possible). Signed-off-by: Andres Salomon <[email protected]> Cc: Jordan Crouse <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: john stultz <[email protected]> Cc: Chris Ball <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f060f27007
commit
f3a57a60d3
9 changed files with 20 additions and 20 deletions
|
|
@ -17,7 +17,7 @@
|
|||
#include <asm/io.h>
|
||||
#include <asm/div64.h>
|
||||
#include <asm/delay.h>
|
||||
#include <asm/geode.h>
|
||||
#include <linux/cs5535.h>
|
||||
|
||||
#include "gxfb.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ static inline void write_fp(struct gxfb_par *par, int reg, uint32_t val)
|
|||
}
|
||||
|
||||
|
||||
/* MSRs are defined in asm/geode.h; their bitfields are here */
|
||||
/* MSRs are defined in linux/cs5535.h; their bitfields are here */
|
||||
|
||||
#define MSR_GLCP_SYS_RSTPLL_DOTPOSTDIV3 (1 << 3)
|
||||
#define MSR_GLCP_SYS_RSTPLL_DOTPREMULT2 (1 << 2)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#include <linux/suspend.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/pci.h>
|
||||
#include <asm/geode.h>
|
||||
#include <linux/cs5535.h>
|
||||
|
||||
#include "gxfb.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ static inline void write_fp(struct lxfb_par *par, int reg, uint32_t val)
|
|||
}
|
||||
|
||||
|
||||
/* MSRs are defined in asm/geode.h; their bitfields are here */
|
||||
/* MSRs are defined in linux/cs5535.h; their bitfields are here */
|
||||
|
||||
#define MSR_GLCP_DOTPLL_LOCK (1 << 25) /* r/o */
|
||||
#define MSR_GLCP_DOTPLL_HALFPIX (1 << 24)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
#include <linux/fb.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <linux/delay.h>
|
||||
#include <asm/geode.h>
|
||||
#include <linux/cs5535.h>
|
||||
|
||||
#include "lxfb.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
#include <linux/fb.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/msr.h>
|
||||
#include <asm/geode.h>
|
||||
#include <linux/cs5535.h>
|
||||
#include <asm/delay.h>
|
||||
|
||||
#include "gxfb.h"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
#include <asm/io.h>
|
||||
#include <asm/delay.h>
|
||||
#include <asm/msr.h>
|
||||
#include <asm/geode.h>
|
||||
#include <linux/cs5535.h>
|
||||
|
||||
#include "gxfb.h"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue