diff options
Diffstat (limited to 'drivers/video/intelfb/intelfbhw.h')
-rw-r--r-- | drivers/video/intelfb/intelfbhw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/intelfb/intelfbhw.h b/drivers/video/intelfb/intelfbhw.h index 10acda098b71..258235149913 100644 --- a/drivers/video/intelfb/intelfbhw.h +++ b/drivers/video/intelfb/intelfbhw.h | |||
@@ -468,9 +468,12 @@ | |||
468 | 468 | ||
469 | /* I/O macros */ | 469 | /* I/O macros */ |
470 | #define INREG8(addr) readb((u8 __iomem *)(dinfo->mmio_base + (addr))) | 470 | #define INREG8(addr) readb((u8 __iomem *)(dinfo->mmio_base + (addr))) |
471 | #define INREG16(addr) readw((u16 __iomem *)(dinfo->mmio_base + (addr))) | ||
471 | #define INREG(addr) readl((u32 __iomem *)(dinfo->mmio_base + (addr))) | 472 | #define INREG(addr) readl((u32 __iomem *)(dinfo->mmio_base + (addr))) |
472 | #define OUTREG8(addr, val) writeb((val),(u8 __iomem *)(dinfo->mmio_base + \ | 473 | #define OUTREG8(addr, val) writeb((val),(u8 __iomem *)(dinfo->mmio_base + \ |
473 | (addr))) | 474 | (addr))) |
475 | #define OUTREG16(addr, val) writew((val),(u16 __iomem *)(dinfo->mmio_base + \ | ||
476 | (addr))) | ||
474 | #define OUTREG(addr, val) writel((val),(u32 __iomem *)(dinfo->mmio_base + \ | 477 | #define OUTREG(addr, val) writel((val),(u32 __iomem *)(dinfo->mmio_base + \ |
475 | (addr))) | 478 | (addr))) |
476 | 479 | ||