[IRDA]: nsc-ircc: PM update
This patch brings the nsc-ircc code to a more up to date power management scheme, following the current device model. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Rudolf Marek <r.marek@sh.cvut.cz> Signed-off-by: Samuel Ortiz <samuel.ortiz@nokia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
ec4f32d550
commit
3b99b93bab
@@ -269,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)
|
||||
|
Reference in New Issue
Block a user