firewire: whitespace adjustments
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Kristian Høgsberg <krh@redhat.com>
This commit is contained in:
Родитель
95688e97cd
Коммит
5e20c28218
|
@ -428,13 +428,6 @@ EXPORT_SYMBOL(fw_card_put);
|
|||
int
|
||||
fw_core_initiate_bus_reset(struct fw_card *card, int short_reset)
|
||||
{
|
||||
u32 address;
|
||||
|
||||
if (short_reset)
|
||||
address = 5;
|
||||
else
|
||||
address = 1;
|
||||
|
||||
return card->driver->update_phy_reg(card, address, 0, 0x40);
|
||||
return card->driver->update_phy_reg(card, short_reset ? 5 : 1, 0, 0x40);
|
||||
}
|
||||
EXPORT_SYMBOL(fw_core_initiate_bus_reset);
|
||||
|
|
|
@ -34,7 +34,6 @@ void fw_csr_iterator_init(struct fw_csr_iterator *ci, u32 * p)
|
|||
ci->p = p + 1;
|
||||
ci->end = ci->p + (p[0] >> 16);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_csr_iterator_init);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_csr_iterator_next);
|
||||
|
||||
static int is_fw_unit(struct device *dev);
|
||||
|
@ -158,7 +156,6 @@ struct bus_type fw_bus_type = {
|
|||
.match = fw_unit_match,
|
||||
.uevent = fw_unit_uevent
|
||||
};
|
||||
|
||||
EXPORT_SYMBOL(fw_bus_type);
|
||||
|
||||
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)
|
|||
device->node_id,
|
||||
device->generation);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_device_enable_phys_dma);
|
||||
|
||||
static ssize_t
|
||||
|
|
|
@ -99,7 +99,6 @@ struct fw_iso_context *fw_iso_context_create(struct fw_card *card, int type,
|
|||
|
||||
return ctx;
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_iso_context_create);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_iso_context_destroy);
|
||||
|
||||
int
|
||||
|
@ -122,7 +120,6 @@ fw_iso_context_send(struct fw_iso_context *ctx,
|
|||
|
||||
return ctx->card->driver->send_iso(ctx, cycle);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_iso_context_send);
|
||||
|
||||
int
|
||||
|
@ -133,5 +130,4 @@ fw_iso_context_queue(struct fw_iso_context *ctx,
|
|||
|
||||
return card->driver->queue_iso(ctx, packet, payload);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_iso_context_queue);
|
||||
|
|
|
@ -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. */
|
||||
|
||||
memset(ctx->head_descriptor, 0, sizeof *ctx->head_descriptor);
|
||||
ctx->head_descriptor->control =
|
||||
cpu_to_le16(descriptor_output_last);
|
||||
ctx->head_descriptor->control = cpu_to_le16(descriptor_output_last);
|
||||
ctx->head_descriptor->transfer_status = cpu_to_le16(0x8011);
|
||||
ctx->head_descriptor++;
|
||||
|
||||
|
|
|
@ -444,5 +444,4 @@ fw_core_handle_bus_reset(struct fw_card *card,
|
|||
|
||||
spin_unlock_irqrestore(&card->lock, flags);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_core_handle_bus_reset);
|
||||
|
|
|
@ -341,7 +341,6 @@ const struct fw_address_region fw_csr_region =
|
|||
{ 0xfffff0000000ULL, 0xfffff0000800ull };
|
||||
const struct fw_address_region fw_unit_space_region =
|
||||
{ 0xfffff0000900ull, 0x1000000000000ull };
|
||||
|
||||
EXPORT_SYMBOL(fw_low_memory_region);
|
||||
EXPORT_SYMBOL(fw_high_memory_region);
|
||||
EXPORT_SYMBOL(fw_private_region);
|
||||
|
@ -355,7 +354,6 @@ EXPORT_SYMBOL(fw_unit_space_region);
|
|||
* parameters passed to the callback give the details of the
|
||||
* particular request
|
||||
*/
|
||||
|
||||
int
|
||||
fw_core_add_address_handler(struct fw_address_handler *handler,
|
||||
const struct fw_address_region *region)
|
||||
|
@ -385,7 +383,6 @@ fw_core_add_address_handler(struct fw_address_handler *handler,
|
|||
|
||||
return ret;
|
||||
}
|
||||
|
||||
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
|
||||
* deallocated region, payload is set to NULL.
|
||||
*/
|
||||
|
||||
void fw_core_remove_address_handler(struct fw_address_handler *handler)
|
||||
{
|
||||
unsigned long flags;
|
||||
|
@ -405,7 +401,6 @@ void fw_core_remove_address_handler(struct fw_address_handler *handler)
|
|||
list_del(&handler->link);
|
||||
spin_unlock_irqrestore(&address_handler_lock, flags);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_core_remove_address_handler);
|
||||
|
||||
struct fw_request {
|
||||
|
@ -552,7 +547,6 @@ fw_send_response(struct fw_card *card, struct fw_request *request, int rcode)
|
|||
|
||||
card->driver->send_response(card, &request->response);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_send_response);
|
||||
|
||||
void
|
||||
|
@ -613,7 +607,6 @@ fw_core_handle_request(struct fw_card *card,
|
|||
request->data, request->length,
|
||||
handler->callback_data);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_core_handle_request);
|
||||
|
||||
void
|
||||
|
@ -677,7 +670,6 @@ fw_core_handle_response(struct fw_card *card,
|
|||
|
||||
t->callback(card, rcode, data, data_length, t->callback_data);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(fw_core_handle_response);
|
||||
|
||||
MODULE_AUTHOR("Kristian Hoegsberg <krh@bitplanet.net>");
|
||||
|
|
Загрузка…
Ссылка в новой задаче