diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-11-26 01:35:21 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-01-04 23:50:32 +0100 |
commit | b17a55096071898454d7b5b6fb30cca7faedf9f1 (patch) | |
tree | fdba029dc0d01d324a1d7405ef5e80dc0f06039c /drivers/ieee1394/csr.c | |
parent | ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation (diff) | |
download | linux-b17a55096071898454d7b5b6fb30cca7faedf9f1.tar.xz linux-b17a55096071898454d7b5b6fb30cca7faedf9f1.zip |
ieee1394: mark all hpsb_address_ops instances as const
These are never modified.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/csr.c')
-rw-r--r-- | drivers/ieee1394/csr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ieee1394/csr.c b/drivers/ieee1394/csr.c index c90be4070e40..9029b6839f0b 100644 --- a/drivers/ieee1394/csr.c +++ b/drivers/ieee1394/csr.c @@ -68,22 +68,22 @@ static struct hpsb_highlevel csr_highlevel = { .host_reset = host_reset, }; -static struct hpsb_address_ops map_ops = { +const static struct hpsb_address_ops map_ops = { .read = read_maps, }; -static struct hpsb_address_ops fcp_ops = { +const static struct hpsb_address_ops fcp_ops = { .write = write_fcp, }; -static struct hpsb_address_ops reg_ops = { +const static struct hpsb_address_ops reg_ops = { .read = read_regs, .write = write_regs, .lock = lock_regs, .lock64 = lock64_regs, }; -static struct hpsb_address_ops config_rom_ops = { +const static struct hpsb_address_ops config_rom_ops = { .read = read_config_rom, }; |