diff options
Diffstat (limited to 'drivers/ata/libata.h')
-rw-r--r-- | drivers/ata/libata.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index b9b2bb1d5dc6..c949dd311b2e 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -242,11 +242,19 @@ static inline bool zpodd_dev_enabled(struct ata_device *dev) | |||
242 | return dev->zpodd != NULL; | 242 | return dev->zpodd != NULL; |
243 | } | 243 | } |
244 | void zpodd_on_suspend(struct ata_device *dev); | 244 | void zpodd_on_suspend(struct ata_device *dev); |
245 | bool zpodd_zpready(struct ata_device *dev); | ||
246 | void zpodd_enable_run_wake(struct ata_device *dev); | ||
247 | void zpodd_disable_run_wake(struct ata_device *dev); | ||
248 | void zpodd_post_poweron(struct ata_device *dev); | ||
245 | #else /* CONFIG_SATA_ZPODD */ | 249 | #else /* CONFIG_SATA_ZPODD */ |
246 | static inline void zpodd_init(struct ata_device *dev) {} | 250 | static inline void zpodd_init(struct ata_device *dev) {} |
247 | static inline void zpodd_exit(struct ata_device *dev) {} | 251 | static inline void zpodd_exit(struct ata_device *dev) {} |
248 | static inline bool zpodd_dev_enabled(struct ata_device *dev) { return false; } | 252 | static inline bool zpodd_dev_enabled(struct ata_device *dev) { return false; } |
249 | static inline void zpodd_on_suspend(struct ata_device *dev) {} | 253 | static inline void zpodd_on_suspend(struct ata_device *dev) {} |
254 | static inline bool zpodd_zpready(struct ata_device *dev) { return false; } | ||
255 | static inline void zpodd_enable_run_wake(struct ata_device *dev) {} | ||
256 | static inline void zpodd_disable_run_wake(struct ata_device *dev) {} | ||
257 | static inline void zpodd_post_poweron(struct ata_device *dev) {} | ||
250 | #endif /* CONFIG_SATA_ZPODD */ | 258 | #endif /* CONFIG_SATA_ZPODD */ |
251 | 259 | ||
252 | #endif /* __LIBATA_H__ */ | 260 | #endif /* __LIBATA_H__ */ |