fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / drivers / net / irda / nsc-ircc.h
index 0f541aa..dacf671 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <linux/spinlock.h>
 #include <linux/pm.h>
+#include <linux/types.h>
 #include <asm/io.h>
 
 /* DMA modes needed */
@@ -255,6 +256,8 @@ struct nsc_ircc_cb {
        chipio_t io;               /* IrDA controller information */
        iobuff_t tx_buff;          /* Transmit buffer */
        iobuff_t rx_buff;          /* Receive buffer */
+       dma_addr_t tx_buff_dma;
+       dma_addr_t rx_buff_dma;
 
        __u8 ier;                  /* Interrupt enable register */
 
@@ -266,7 +269,7 @@ struct nsc_ircc_cb {
        __u32 new_speed;
        int index;                 /* Instance index */
 
-        struct pm_dev *dev;
+       struct platform_device *pldev;
 };
 
 static inline void switch_bank(int iobase, int bank)