aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-01-21 20:45:32 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 22:02:41 +0100
commit5af4e5eab30d481f76b89a2167c873dfad960acb (patch)
treeeb958f6afd26bb382de66156feb8f64fe8646f73
parent5e20c282184fd5794661b6688883231ff5348abc (diff)
firewire: comma after last enum item or initializer
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Kristian Høgsberg <krh@redhat.com>
-rw-r--r--drivers/firewire/fw-card.c2
-rw-r--r--drivers/firewire/fw-device-cdev.c2
-rw-r--r--drivers/firewire/fw-device.c8
-rw-r--r--drivers/firewire/fw-device.h2
-rw-r--r--drivers/firewire/fw-ohci.c2
-rw-r--r--drivers/firewire/fw-sbp2.c2
-rw-r--r--drivers/firewire/fw-topology.h2
-rw-r--r--drivers/firewire/fw-transaction.c12
8 files changed, 16 insertions, 16 deletions
diff --git a/drivers/firewire/fw-card.c b/drivers/firewire/fw-card.c
index c560fd5e74f..c8b7d695c81 100644
--- a/drivers/firewire/fw-card.c
+++ b/drivers/firewire/fw-card.c
@@ -381,7 +381,7 @@ static struct fw_card_driver dummy_driver = {
.set_config_rom = dummy_set_config_rom,
.send_request = dummy_send_request,
.send_response = dummy_send_response,
- .enable_phys_dma = dummy_enable_phys_dma
+ .enable_phys_dma = dummy_enable_phys_dma,
};
void
diff --git a/drivers/firewire/fw-device-cdev.c b/drivers/firewire/fw-device-cdev.c
index 117bc6db54a..5ffc58c6624 100644
--- a/drivers/firewire/fw-device-cdev.c
+++ b/drivers/firewire/fw-device-cdev.c
@@ -612,6 +612,6 @@ const struct file_operations fw_device_ops = {
.mmap = fw_device_op_mmap,
#ifdef CONFIG_COMPAT
- .compat_ioctl = fw_device_op_compat_ioctl
+ .compat_ioctl = fw_device_op_compat_ioctl,
#endif
};
diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c
index 559b9340e8f..f1b0e75fd91 100644
--- a/drivers/firewire/fw-device.c
+++ b/drivers/firewire/fw-device.c
@@ -154,7 +154,7 @@ fw_unit_uevent(struct device *dev, char **envp, int num_envp,
struct bus_type fw_bus_type = {
.name = "fw",
.match = fw_unit_match,
- .uevent = fw_unit_uevent
+ .uevent = fw_unit_uevent,
};
EXPORT_SYMBOL(fw_bus_type);
@@ -209,8 +209,8 @@ show_modalias_attribute(struct device *dev,
}
static struct device_attribute modalias_attribute = {
- .attr = {.name = "modalias",.mode = S_IRUGO},
- .show = show_modalias_attribute
+ .attr = { .name = "modalias", .mode = S_IRUGO, },
+ .show = show_modalias_attribute,
};
static ssize_t
@@ -225,7 +225,7 @@ show_config_rom_attribute(struct device *dev,
}
static struct device_attribute config_rom_attribute = {
- .attr = {.name = "config_rom",.mode = S_IRUGO},
+ .attr = {.name = "config_rom", .mode = S_IRUGO,},
.show = show_config_rom_attribute,
};
diff --git a/drivers/firewire/fw-device.h b/drivers/firewire/fw-device.h
index b150adb4253..5399b48f553 100644
--- a/drivers/firewire/fw-device.h
+++ b/drivers/firewire/fw-device.h
@@ -28,7 +28,7 @@
enum fw_device_state {
FW_DEVICE_INITIALIZING,
FW_DEVICE_RUNNING,
- FW_DEVICE_SHUTDOWN
+ FW_DEVICE_SHUTDOWN,
};
struct fw_device {
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 1f34bdd95c8..ea52e150a8e 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -1157,7 +1157,7 @@ static const struct fw_card_driver ohci_driver = {
.allocate_iso_context = ohci_allocate_iso_context,
.free_iso_context = ohci_free_iso_context,
.queue_iso = ohci_queue_iso,
- .send_iso = ohci_send_iso
+ .send_iso = ohci_send_iso,
};
static int software_reset(struct fw_ohci *ohci)
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 28acae8b01b..13e47e942c1 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -685,7 +685,7 @@ static const struct fw_device_id sbp2_id_table[] = {
{
.match_flags = FW_MATCH_SPECIFIER_ID | FW_MATCH_VERSION,
.specifier_id = SBP2_UNIT_SPEC_ID_ENTRY,
- .version = SBP2_SW_VERSION_ENTRY
+ .version = SBP2_SW_VERSION_ENTRY,
},
{ }
};
diff --git a/drivers/firewire/fw-topology.h b/drivers/firewire/fw-topology.h
index 4311d9f890d..ab03059a0da 100644
--- a/drivers/firewire/fw-topology.h
+++ b/drivers/firewire/fw-topology.h
@@ -27,7 +27,7 @@ enum {
FW_NODE_UPDATED = 0x01,
FW_NODE_DESTROYED = 0x02,
FW_NODE_LINK_ON = 0x03,
- FW_NODE_LINK_OFF = 0x04
+ FW_NODE_LINK_OFF = 0x04,
};
struct fw_port {
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c
index 79563b2848f..4c1275f9a3b 100644
--- a/drivers/firewire/fw-transaction.c
+++ b/drivers/firewire/fw-transaction.c
@@ -332,15 +332,15 @@ static DEFINE_SPINLOCK(address_handler_lock);
static LIST_HEAD(address_handler_list);
const struct fw_address_region fw_low_memory_region =
- { 0x000000000000ull, 0x000100000000ull };
+ { .start = 0x000000000000ULL, .end = 0x000100000000ULL, };
const struct fw_address_region fw_high_memory_region =
- { 0x000100000000ull, 0xffffe0000000ull };
+ { .start = 0x000100000000ULL, .end = 0xffffe0000000ULL, };
const struct fw_address_region fw_private_region =
- { 0xffffe0000000ull, 0xfffff0000000ull };
+ { .start = 0xffffe0000000ULL, .end = 0xfffff0000000ULL, };
const struct fw_address_region fw_csr_region =
- { 0xfffff0000000ULL, 0xfffff0000800ull };
+ { .start = 0xfffff0000000ULL, .end = 0xfffff0000800ULL, };
const struct fw_address_region fw_unit_space_region =
- { 0xfffff0000900ull, 0x1000000000000ull };
+ { .start = 0xfffff0000900ULL, .end = 0x1000000000000ULL, };
EXPORT_SYMBOL(fw_low_memory_region);
EXPORT_SYMBOL(fw_high_memory_region);
EXPORT_SYMBOL(fw_private_region);
@@ -692,7 +692,7 @@ static const u32 vendor_textual_descriptor_data[] = {
static struct fw_descriptor vendor_textual_descriptor = {
.length = ARRAY_SIZE(vendor_textual_descriptor_data),
.key = 0x81000000,
- .data = vendor_textual_descriptor_data
+ .data = vendor_textual_descriptor_data,
};
static int __init fw_core_init(void)