diff options
Diffstat (limited to 'include/linux/firewire.h')
-rw-r--r-- | include/linux/firewire.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/include/linux/firewire.h b/include/linux/firewire.h index 84ccf8e04fa6..cdc9b719e9c7 100644 --- a/include/linux/firewire.h +++ b/include/linux/firewire.h | |||
@@ -17,9 +17,6 @@ | |||
17 | #include <linux/atomic.h> | 17 | #include <linux/atomic.h> |
18 | #include <asm/byteorder.h> | 18 | #include <asm/byteorder.h> |
19 | 19 | ||
20 | #define fw_notify(s, args...) printk(KERN_NOTICE KBUILD_MODNAME ": " s, ## args) | ||
21 | #define fw_error(s, args...) printk(KERN_ERR KBUILD_MODNAME ": " s, ## args) | ||
22 | |||
23 | #define CSR_REGISTER_BASE 0xfffff0000000ULL | 20 | #define CSR_REGISTER_BASE 0xfffff0000000ULL |
24 | 21 | ||
25 | /* register offsets are relative to CSR_REGISTER_BASE */ | 22 | /* register offsets are relative to CSR_REGISTER_BASE */ |
@@ -203,18 +200,6 @@ static inline int fw_device_is_shutdown(struct fw_device *device) | |||
203 | return atomic_read(&device->state) == FW_DEVICE_SHUTDOWN; | 200 | return atomic_read(&device->state) == FW_DEVICE_SHUTDOWN; |
204 | } | 201 | } |
205 | 202 | ||
206 | static inline struct fw_device *fw_device_get(struct fw_device *device) | ||
207 | { | ||
208 | get_device(&device->device); | ||
209 | |||
210 | return device; | ||
211 | } | ||
212 | |||
213 | static inline void fw_device_put(struct fw_device *device) | ||
214 | { | ||
215 | put_device(&device->device); | ||
216 | } | ||
217 | |||
218 | int fw_device_enable_phys_dma(struct fw_device *device); | 203 | int fw_device_enable_phys_dma(struct fw_device *device); |
219 | 204 | ||
220 | /* | 205 | /* |
@@ -441,6 +426,7 @@ int fw_iso_context_queue(struct fw_iso_context *ctx, | |||
441 | struct fw_iso_buffer *buffer, | 426 | struct fw_iso_buffer *buffer, |
442 | unsigned long payload); | 427 | unsigned long payload); |
443 | void fw_iso_context_queue_flush(struct fw_iso_context *ctx); | 428 | void fw_iso_context_queue_flush(struct fw_iso_context *ctx); |
429 | int fw_iso_context_flush_completions(struct fw_iso_context *ctx); | ||
444 | int fw_iso_context_start(struct fw_iso_context *ctx, | 430 | int fw_iso_context_start(struct fw_iso_context *ctx, |
445 | int cycle, int sync, int tags); | 431 | int cycle, int sync, int tags); |
446 | int fw_iso_context_stop(struct fw_iso_context *ctx); | 432 | int fw_iso_context_stop(struct fw_iso_context *ctx); |