projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c908d
)
savagefb: Replace magic register address with define
author
Tormod Volden
<debian.tormod@gmail.com>
Sun, 3 Apr 2011 12:54:04 +0000
(12:54 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 6 Apr 2011 16:49:52 +0000
(09:49 -0700)
MM_SERIAL1 was already defined, but not used.
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/savage/savagefb-i2c.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/savage/savagefb-i2c.c
b/drivers/video/savage/savagefb-i2c.c
index b16e6138fdd46a971ee20c542a65a32a634bf0c4..58c8a3ce33c53825e4e8565e24b9f2dc11ef7273 100644
(file)
--- a/
drivers/video/savage/savagefb-i2c.c
+++ b/
drivers/video/savage/savagefb-i2c.c
@@
-191,7
+191,7
@@
void savagefb_create_i2c_busses(struct fb_info *info)
par->chan.algo.getscl = prosavage_gpio_getscl;
break;
case FB_ACCEL_SAVAGE2000:
- par->chan.reg =
0xff20
;
+ par->chan.reg =
MM_SERIAL1
;
par->chan.ioaddr = par->mmio.vbase;
par->chan.algo.setsda = savage4_gpio_setsda;
par->chan.algo.setscl = savage4_gpio_setscl;