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

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

firewire: comma after last enum item or initializer

parent 5e20c282
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
};
+4 −4
Original line number Diff line number Diff line
@@ -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,
};

+1 −1
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@
enum fw_device_state {
	FW_DEVICE_INITIALIZING,
	FW_DEVICE_RUNNING,
	FW_DEVICE_SHUTDOWN
	FW_DEVICE_SHUTDOWN,
};

struct fw_device {
+1 −1
Original line number Diff line number Diff line
@@ -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)
Loading