diff options
Diffstat (limited to 'drivers/video/stifb.c')
-rw-r--r-- | drivers/video/stifb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/stifb.c b/drivers/video/stifb.c index f98be301140c..598d35eff935 100644 --- a/drivers/video/stifb.c +++ b/drivers/video/stifb.c | |||
@@ -164,11 +164,11 @@ static int __initdata stifb_bpp_pref[MAX_STI_ROMS]; | |||
164 | # define DEBUG_ON() debug_on=1 | 164 | # define DEBUG_ON() debug_on=1 |
165 | # define WRITE_BYTE(value,fb,reg) do { if (debug_on) \ | 165 | # define WRITE_BYTE(value,fb,reg) do { if (debug_on) \ |
166 | printk(KERN_DEBUG "%30s: WRITE_BYTE(0x%06x) = 0x%02x (old=0x%02x)\n", \ | 166 | printk(KERN_DEBUG "%30s: WRITE_BYTE(0x%06x) = 0x%02x (old=0x%02x)\n", \ |
167 | __FUNCTION__, reg, value, READ_BYTE(fb,reg)); \ | 167 | __func__, reg, value, READ_BYTE(fb,reg)); \ |
168 | gsc_writeb((value),(fb)->info.fix.mmio_start + (reg)); } while (0) | 168 | gsc_writeb((value),(fb)->info.fix.mmio_start + (reg)); } while (0) |
169 | # define WRITE_WORD(value,fb,reg) do { if (debug_on) \ | 169 | # define WRITE_WORD(value,fb,reg) do { if (debug_on) \ |
170 | printk(KERN_DEBUG "%30s: WRITE_WORD(0x%06x) = 0x%08x (old=0x%08x)\n", \ | 170 | printk(KERN_DEBUG "%30s: WRITE_WORD(0x%06x) = 0x%08x (old=0x%08x)\n", \ |
171 | __FUNCTION__, reg, value, READ_WORD(fb,reg)); \ | 171 | __func__, reg, value, READ_WORD(fb,reg)); \ |
172 | gsc_writel((value),(fb)->info.fix.mmio_start + (reg)); } while (0) | 172 | gsc_writel((value),(fb)->info.fix.mmio_start + (reg)); } while (0) |
173 | #endif /* DEBUG_STIFB_REGS */ | 173 | #endif /* DEBUG_STIFB_REGS */ |
174 | 174 | ||