• Stefan Richter's avatar
    firewire: mark some structs const · 21ebcd12
    Stefan Richter authored
    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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
    21ebcd12
fw-device.c 16.4 KB