]> err.no Git - linux-2.6/commit
firewire: mark some structs const
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 14 Jan 2007 14:29:07 +0000 (15:29 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:39 +0000 (22:02 +0100)
commit21ebcd1224d05c8673053e1e93ab9ec7ef3e0b84
tree1f6f1c05bc8c0fa814a2265ca8dbb24e92bdcab9
parent227e7d8194bd147484f6ae135a082ce22112b5b3
firewire: mark some structs const

Instances of struct file_operations and struct fw_card_driver can be
qualified as "const".  Ditto with struct fw_descriptor.data, struct
fw_device_id, and predefined instances of struct fw_address_region,
at least in the current implementation.

Data qualified as const is placed into the .rodata section which won't
be mixed with dirty data.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-card.c
drivers/firewire/fw-device-cdev.c
drivers/firewire/fw-device.c
drivers/firewire/fw-device.h
drivers/firewire/fw-ohci.c
drivers/firewire/fw-sbp2.c
drivers/firewire/fw-transaction.c
drivers/firewire/fw-transaction.h