forked from Minki/linux
MIPS: au1xxx-ide: Fix build with CONFIG_PM
au1xxx_power_dev_t? is never defined; get rid of all PM stuff as well since it is not in the driver source anyway. Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
d16797b304
commit
1d9c114dc1
@ -46,20 +46,6 @@
|
|||||||
#define CONFIG_BLK_DEV_IDE_AU1XXX_BURSTABLE_ON 0
|
#define CONFIG_BLK_DEV_IDE_AU1XXX_BURSTABLE_ON 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_PM
|
|
||||||
/*
|
|
||||||
* This will enable the device to be powered up when write() or read()
|
|
||||||
* is called. If this is not defined, the driver will return -EBUSY.
|
|
||||||
*/
|
|
||||||
#define WAKE_ON_ACCESS 1
|
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
spinlock_t lock; /* Used to block on state transitions */
|
|
||||||
au1xxx_power_dev_t *dev; /* Power Managers device structure */
|
|
||||||
unsigned stopped; /* Used to signal device is stopped */
|
|
||||||
} pm_state;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
u32 tx_dev_id, rx_dev_id, target_dev_id;
|
u32 tx_dev_id, rx_dev_id, target_dev_id;
|
||||||
u32 tx_chan, rx_chan;
|
u32 tx_chan, rx_chan;
|
||||||
@ -72,9 +58,6 @@ typedef struct {
|
|||||||
#endif
|
#endif
|
||||||
int irq;
|
int irq;
|
||||||
u32 regbase;
|
u32 regbase;
|
||||||
#ifdef CONFIG_PM
|
|
||||||
pm_state pm;
|
|
||||||
#endif
|
|
||||||
} _auide_hwif;
|
} _auide_hwif;
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user