ieee1394: mark all hpsb_address_ops instances as const

These are never modified.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
Stefan Richter
2008-11-26 01:35:21 +01:00
parent adb0a61681
commit b17a550960
6 changed files with 16 additions and 14 deletions

View File

@@ -181,7 +181,7 @@ static void ether1394_remove_host(struct hpsb_host *host);
static void ether1394_host_reset(struct hpsb_host *host);
/* Function for incoming 1394 packets */
static struct hpsb_address_ops addr_ops = {
const static struct hpsb_address_ops addr_ops = {
.write = ether1394_write,
};