diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2008-07-08 06:08:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-08 06:08:16 -0400 |
commit | 256f3bfce87fe39ec008b2c27890b30066984f50 (patch) | |
tree | 847046f3f793590754e06e78c3f553e879e3a7db | |
parent | 81c684d12ddc05bba4953e36e9cdd5939dde344b (diff) |
irda: Remove useless pm_dev references
Some IRDA headers contain references to 'struct pm_dev' that are not
necessary any more and may be removed.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/irda/ali-ircc.h | 2 | ||||
-rw-r--r-- | drivers/net/irda/au1000_ircc.h | 1 | ||||
-rw-r--r-- | drivers/net/irda/via-ircc.h | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/irda/ali-ircc.h b/drivers/net/irda/ali-ircc.h index 07876578887f..ed35d99763d5 100644 --- a/drivers/net/irda/ali-ircc.h +++ b/drivers/net/irda/ali-ircc.h | |||
@@ -219,8 +219,6 @@ struct ali_ircc_cb { | |||
219 | int index; /* Instance index */ | 219 | int index; /* Instance index */ |
220 | 220 | ||
221 | unsigned char fifo_opti_buf; | 221 | unsigned char fifo_opti_buf; |
222 | |||
223 | struct pm_dev *dev; | ||
224 | }; | 222 | }; |
225 | 223 | ||
226 | static inline void switch_bank(int iobase, int bank) | 224 | static inline void switch_bank(int iobase, int bank) |
diff --git a/drivers/net/irda/au1000_ircc.h b/drivers/net/irda/au1000_ircc.h index 7a31d4659ed6..b4763f24dded 100644 --- a/drivers/net/irda/au1000_ircc.h +++ b/drivers/net/irda/au1000_ircc.h | |||
@@ -122,6 +122,5 @@ struct au1k_private { | |||
122 | struct timer_list timer; | 122 | struct timer_list timer; |
123 | 123 | ||
124 | spinlock_t lock; /* For serializing operations */ | 124 | spinlock_t lock; /* For serializing operations */ |
125 | struct pm_dev *dev; | ||
126 | }; | 125 | }; |
127 | #endif /* AU1000_IRCC_H */ | 126 | #endif /* AU1000_IRCC_H */ |
diff --git a/drivers/net/irda/via-ircc.h b/drivers/net/irda/via-ircc.h index 9d012f0dbd30..403c3f77634c 100644 --- a/drivers/net/irda/via-ircc.h +++ b/drivers/net/irda/via-ircc.h | |||
@@ -118,7 +118,6 @@ struct via_ircc_cb { | |||
118 | int index; /* Instance index */ | 118 | int index; /* Instance index */ |
119 | 119 | ||
120 | struct eventflag EventFlag; | 120 | struct eventflag EventFlag; |
121 | struct pm_dev *dev; | ||
122 | unsigned int chip_id; /* to remember chip id */ | 121 | unsigned int chip_id; /* to remember chip id */ |
123 | unsigned int RetryCount; | 122 | unsigned int RetryCount; |
124 | unsigned int RxDataReady; | 123 | unsigned int RxDataReady; |