Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

firewire: whitespace adjustments

parent 95688e97
Loading
Loading
Loading
Loading
+17 −24
Original line number Diff line number Diff line
@@ -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);
+0 −4
Original line number Diff line number Diff line
@@ -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
+0 −4
Original line number Diff line number Diff line
@@ -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);
+2 −3
Original line number Diff line number Diff line
@@ -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++;

+0 −1
Original line number Diff line number Diff line
@@ -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);
Loading