]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/jmr3927/tx3927.h
devcgroup: always show positive major/minor num
[linux-2.6-omap-h63xx.git] / include / asm-mips / jmr3927 / tx3927.h
index 211bcf47fffb41e7281018c98572dbaafaf8abde..fb580333c102b21499ffc86fac0b370d69ee1813 100644 (file)
@@ -222,9 +222,7 @@ struct tx3927_ccfg_reg {
 #define TX3927_IR_DMA  8
 #define TX3927_IR_PIO  9
 #define TX3927_IR_PCI  10
-#define TX3927_IR_TMR0 13
-#define TX3927_IR_TMR1 14
-#define TX3927_IR_TMR2 15
+#define TX3927_IR_TMR(ch)      (13 + (ch))
 #define TX3927_NUM_IR  16
 
 /*
@@ -316,6 +314,6 @@ struct tx3927_ccfg_reg {
 #define tx3927_ccfgptr         ((struct tx3927_ccfg_reg *)TX3927_CCFG_REG)
 #define tx3927_tmrptr(ch)      ((struct txx927_tmr_reg *)TX3927_TMR_REG(ch))
 #define tx3927_sioptr(ch)      ((struct txx927_sio_reg *)TX3927_SIO_REG(ch))
-#define tx3927_pioptr          ((struct txx927_pio_reg *)TX3927_PIO_REG)
+#define tx3927_pioptr          ((struct txx9_pio_reg __iomem *)TX3927_PIO_REG)
 
 #endif /* __ASM_TX3927_H */