diff options
author | Manuel Lauss <mano@roarinelk.homelinux.net> | 2009-03-31 12:44:36 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-05-14 08:50:24 -0400 |
commit | 1d9c114dc1702306215439cd608047ab639700db (patch) | |
tree | 883d741096bff819972c019b217ed9ed64bcdacb /arch | |
parent | d16797b304a4701a7d156f47773c6d2e456b64ee (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/mach-au1x00/au1xxx_ide.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/mips/include/asm/mach-au1x00/au1xxx_ide.h b/arch/mips/include/asm/mach-au1x00/au1xxx_ide.h index 60638b8969ba..5656c72de6d3 100644 --- a/arch/mips/include/asm/mach-au1x00/au1xxx_ide.h +++ b/arch/mips/include/asm/mach-au1x00/au1xxx_ide.h | |||
@@ -46,20 +46,6 @@ | |||
46 | #define CONFIG_BLK_DEV_IDE_AU1XXX_BURSTABLE_ON 0 | 46 | #define CONFIG_BLK_DEV_IDE_AU1XXX_BURSTABLE_ON 0 |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #ifdef CONFIG_PM | ||
50 | /* | ||
51 | * This will enable the device to be powered up when write() or read() | ||
52 | * is called. If this is not defined, the driver will return -EBUSY. | ||
53 | */ | ||
54 | #define WAKE_ON_ACCESS 1 | ||
55 | |||
56 | typedef struct { | ||
57 | spinlock_t lock; /* Used to block on state transitions */ | ||
58 | au1xxx_power_dev_t *dev; /* Power Managers device structure */ | ||
59 | unsigned stopped; /* Used to signal device is stopped */ | ||
60 | } pm_state; | ||
61 | #endif | ||
62 | |||
63 | typedef struct { | 49 | typedef struct { |
64 | u32 tx_dev_id, rx_dev_id, target_dev_id; | 50 | u32 tx_dev_id, rx_dev_id, target_dev_id; |
65 | u32 tx_chan, rx_chan; | 51 | u32 tx_chan, rx_chan; |
@@ -72,9 +58,6 @@ typedef struct { | |||
72 | #endif | 58 | #endif |
73 | int irq; | 59 | int irq; |
74 | u32 regbase; | 60 | u32 regbase; |
75 | #ifdef CONFIG_PM | ||
76 | pm_state pm; | ||
77 | #endif | ||
78 | } _auide_hwif; | 61 | } _auide_hwif; |
79 | 62 | ||
80 | /******************************************************************************/ | 63 | /******************************************************************************/ |