Commit 5e20c282 authored by Stefan Richter's avatar Stefan Richter

firewire: whitespace adjustments

Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: default avatarKristian Høgsberg <krh@redhat.com>
parent 95688e97
...@@ -428,13 +428,6 @@ EXPORT_SYMBOL(fw_card_put); ...@@ -428,13 +428,6 @@ EXPORT_SYMBOL(fw_card_put);
int int
fw_core_initiate_bus_reset(struct fw_card *card, int short_reset) fw_core_initiate_bus_reset(struct fw_card *card, int short_reset)
{ {
u32 address; return card->driver->update_phy_reg(card, short_reset ? 5 : 1, 0, 0x40);
if (short_reset)
address = 5;
else
address = 1;
return card->driver->update_phy_reg(card, address, 0, 0x40);
} }
EXPORT_SYMBOL(fw_core_initiate_bus_reset); EXPORT_SYMBOL(fw_core_initiate_bus_reset);
...@@ -34,7 +34,6 @@ void fw_csr_iterator_init(struct fw_csr_iterator *ci, u32 * p) ...@@ -34,7 +34,6 @@ void fw_csr_iterator_init(struct fw_csr_iterator *ci, u32 * p)
ci->p = p + 1; ci->p = p + 1;
ci->end = ci->p + (p[0] >> 16); ci->end = ci->p + (p[0] >> 16);
} }
EXPORT_SYMBOL(fw_csr_iterator_init); EXPORT_SYMBOL(fw_csr_iterator_init);
int fw_csr_iterator_next(struct fw_csr_iterator *ci, int *key, int *value) int fw_csr_iterator_next(struct fw_csr_iterator *ci, int *key, int *value)
...@@ -44,7 +43,6 @@ int fw_csr_iterator_next(struct fw_csr_iterator *ci, int *key, int *value) ...@@ -44,7 +43,6 @@ int fw_csr_iterator_next(struct fw_csr_iterator *ci, int *key, int *value)
return ci->p++ < ci->end; return ci->p++ < ci->end;
} }
EXPORT_SYMBOL(fw_csr_iterator_next); EXPORT_SYMBOL(fw_csr_iterator_next);
static int is_fw_unit(struct device *dev); static int is_fw_unit(struct device *dev);
...@@ -158,7 +156,6 @@ struct bus_type fw_bus_type = { ...@@ -158,7 +156,6 @@ struct bus_type fw_bus_type = {
.match = fw_unit_match, .match = fw_unit_match,
.uevent = fw_unit_uevent .uevent = fw_unit_uevent
}; };
EXPORT_SYMBOL(fw_bus_type); EXPORT_SYMBOL(fw_bus_type);
extern struct fw_device *fw_device_get(struct fw_device *device) extern struct fw_device *fw_device_get(struct fw_device *device)
...@@ -196,7 +193,6 @@ int fw_device_enable_phys_dma(struct fw_device *device) ...@@ -196,7 +193,6 @@ int fw_device_enable_phys_dma(struct fw_device *device)
device->node_id, device->node_id,
device->generation); device->generation);
} }
EXPORT_SYMBOL(fw_device_enable_phys_dma); EXPORT_SYMBOL(fw_device_enable_phys_dma);
static ssize_t static ssize_t
......
...@@ -99,7 +99,6 @@ struct fw_iso_context *fw_iso_context_create(struct fw_card *card, int type, ...@@ -99,7 +99,6 @@ struct fw_iso_context *fw_iso_context_create(struct fw_card *card, int type,
return ctx; return ctx;
} }
EXPORT_SYMBOL(fw_iso_context_create); EXPORT_SYMBOL(fw_iso_context_create);
void fw_iso_context_destroy(struct fw_iso_context *ctx) void fw_iso_context_destroy(struct fw_iso_context *ctx)
...@@ -110,7 +109,6 @@ void fw_iso_context_destroy(struct fw_iso_context *ctx) ...@@ -110,7 +109,6 @@ void fw_iso_context_destroy(struct fw_iso_context *ctx)
card->driver->free_iso_context(ctx); card->driver->free_iso_context(ctx);
} }
EXPORT_SYMBOL(fw_iso_context_destroy); EXPORT_SYMBOL(fw_iso_context_destroy);
int int
...@@ -122,7 +120,6 @@ fw_iso_context_send(struct fw_iso_context *ctx, ...@@ -122,7 +120,6 @@ fw_iso_context_send(struct fw_iso_context *ctx,
return ctx->card->driver->send_iso(ctx, cycle); return ctx->card->driver->send_iso(ctx, cycle);
} }
EXPORT_SYMBOL(fw_iso_context_send); EXPORT_SYMBOL(fw_iso_context_send);
int int
...@@ -133,5 +130,4 @@ fw_iso_context_queue(struct fw_iso_context *ctx, ...@@ -133,5 +130,4 @@ fw_iso_context_queue(struct fw_iso_context *ctx,
return card->driver->queue_iso(ctx, packet, payload); return card->driver->queue_iso(ctx, packet, payload);
} }
EXPORT_SYMBOL(fw_iso_context_queue); EXPORT_SYMBOL(fw_iso_context_queue);
...@@ -963,8 +963,7 @@ static struct fw_iso_context *ohci_allocate_iso_context(struct fw_card *card, ...@@ -963,8 +963,7 @@ static struct fw_iso_context *ohci_allocate_iso_context(struct fw_card *card,
* element so that head == tail means buffer full. */ * element so that head == tail means buffer full. */
memset(ctx->head_descriptor, 0, sizeof *ctx->head_descriptor); memset(ctx->head_descriptor, 0, sizeof *ctx->head_descriptor);
ctx->head_descriptor->control = ctx->head_descriptor->control = cpu_to_le16(descriptor_output_last);
cpu_to_le16(descriptor_output_last);
ctx->head_descriptor->transfer_status = cpu_to_le16(0x8011); ctx->head_descriptor->transfer_status = cpu_to_le16(0x8011);
ctx->head_descriptor++; ctx->head_descriptor++;
......
...@@ -444,5 +444,4 @@ fw_core_handle_bus_reset(struct fw_card *card, ...@@ -444,5 +444,4 @@ fw_core_handle_bus_reset(struct fw_card *card,
spin_unlock_irqrestore(&card->lock, flags); spin_unlock_irqrestore(&card->lock, flags);
} }
EXPORT_SYMBOL(fw_core_handle_bus_reset); EXPORT_SYMBOL(fw_core_handle_bus_reset);
...@@ -341,7 +341,6 @@ const struct fw_address_region fw_csr_region = ...@@ -341,7 +341,6 @@ const struct fw_address_region fw_csr_region =
{ 0xfffff0000000ULL, 0xfffff0000800ull }; { 0xfffff0000000ULL, 0xfffff0000800ull };
const struct fw_address_region fw_unit_space_region = const struct fw_address_region fw_unit_space_region =
{ 0xfffff0000900ull, 0x1000000000000ull }; { 0xfffff0000900ull, 0x1000000000000ull };
EXPORT_SYMBOL(fw_low_memory_region); EXPORT_SYMBOL(fw_low_memory_region);
EXPORT_SYMBOL(fw_high_memory_region); EXPORT_SYMBOL(fw_high_memory_region);
EXPORT_SYMBOL(fw_private_region); EXPORT_SYMBOL(fw_private_region);
...@@ -355,7 +354,6 @@ EXPORT_SYMBOL(fw_unit_space_region); ...@@ -355,7 +354,6 @@ EXPORT_SYMBOL(fw_unit_space_region);
* parameters passed to the callback give the details of the * parameters passed to the callback give the details of the
* particular request * particular request
*/ */
int int
fw_core_add_address_handler(struct fw_address_handler *handler, fw_core_add_address_handler(struct fw_address_handler *handler,
const struct fw_address_region *region) const struct fw_address_region *region)
...@@ -385,7 +383,6 @@ fw_core_add_address_handler(struct fw_address_handler *handler, ...@@ -385,7 +383,6 @@ fw_core_add_address_handler(struct fw_address_handler *handler,
return ret; return ret;
} }
EXPORT_SYMBOL(fw_core_add_address_handler); EXPORT_SYMBOL(fw_core_add_address_handler);
/** /**
...@@ -396,7 +393,6 @@ EXPORT_SYMBOL(fw_core_add_address_handler); ...@@ -396,7 +393,6 @@ EXPORT_SYMBOL(fw_core_add_address_handler);
* length are set to the start and the length respectively for the * length are set to the start and the length respectively for the
* deallocated region, payload is set to NULL. * deallocated region, payload is set to NULL.
*/ */
void fw_core_remove_address_handler(struct fw_address_handler *handler) void fw_core_remove_address_handler(struct fw_address_handler *handler)
{ {
unsigned long flags; unsigned long flags;
...@@ -405,7 +401,6 @@ void fw_core_remove_address_handler(struct fw_address_handler *handler) ...@@ -405,7 +401,6 @@ void fw_core_remove_address_handler(struct fw_address_handler *handler)
list_del(&handler->link); list_del(&handler->link);
spin_unlock_irqrestore(&address_handler_lock, flags); spin_unlock_irqrestore(&address_handler_lock, flags);
} }
EXPORT_SYMBOL(fw_core_remove_address_handler); EXPORT_SYMBOL(fw_core_remove_address_handler);
struct fw_request { struct fw_request {
...@@ -552,7 +547,6 @@ fw_send_response(struct fw_card *card, struct fw_request *request, int rcode) ...@@ -552,7 +547,6 @@ fw_send_response(struct fw_card *card, struct fw_request *request, int rcode)
card->driver->send_response(card, &request->response); card->driver->send_response(card, &request->response);
} }
EXPORT_SYMBOL(fw_send_response); EXPORT_SYMBOL(fw_send_response);
void void
...@@ -613,7 +607,6 @@ fw_core_handle_request(struct fw_card *card, ...@@ -613,7 +607,6 @@ fw_core_handle_request(struct fw_card *card,
request->data, request->length, request->data, request->length,
handler->callback_data); handler->callback_data);
} }
EXPORT_SYMBOL(fw_core_handle_request); EXPORT_SYMBOL(fw_core_handle_request);
void void
...@@ -677,7 +670,6 @@ fw_core_handle_response(struct fw_card *card, ...@@ -677,7 +670,6 @@ fw_core_handle_response(struct fw_card *card,
t->callback(card, rcode, data, data_length, t->callback_data); t->callback(card, rcode, data, data_length, t->callback_data);
} }
EXPORT_SYMBOL(fw_core_handle_response); EXPORT_SYMBOL(fw_core_handle_response);
MODULE_AUTHOR("Kristian Hoegsberg <krh@bitplanet.net>"); MODULE_AUTHOR("Kristian Hoegsberg <krh@bitplanet.net>");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment