diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-04-03 12:54:04 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-04-06 09:49:52 -0700 |
commit | a564d301e93f96a23c808b4cf234ac08b073c96d (patch) | |
tree | cb41312ca2f5e56b73749ae8f30d4d6bf063b199 /drivers/video/savage/savagefb-i2c.c | |
parent | a8c908d353e52336b864025dbd8253134c3f5411 (diff) |
savagefb: Replace magic register address with define
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>
Diffstat (limited to 'drivers/video/savage/savagefb-i2c.c')
-rw-r--r-- | drivers/video/savage/savagefb-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/savage/savagefb-i2c.c b/drivers/video/savage/savagefb-i2c.c index b16e6138fdd4..58c8a3ce33c5 100644 --- 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; |