summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-robotfuzz-osif.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-06-02 07:28:48 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-06-13 22:32:09 +0200
commit33c77abcf4aa5e9679f702a2f979d44a470f6e6e (patch)
tree40a572abdd67318dfa420f77cdd444365e8d96a0 /drivers/i2c/busses/i2c-robotfuzz-osif.c
parenti2c: jz4780: drop superfluous init (diff)
downloadlinux-33c77abcf4aa5e9679f702a2f979d44a470f6e6e.tar.xz
linux-33c77abcf4aa5e9679f702a2f979d44a470f6e6e.zip
i2c: robotfuzz-osif: Constify osif_table
osif_table is never modified, so declare it as const. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to '')
-rw-r--r--drivers/i2c/busses/i2c-robotfuzz-osif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-robotfuzz-osif.c b/drivers/i2c/busses/i2c-robotfuzz-osif.c
index ced9c6a308d1..89d8b41b6668 100644
--- a/drivers/i2c/busses/i2c-robotfuzz-osif.c
+++ b/drivers/i2c/busses/i2c-robotfuzz-osif.c
@@ -125,7 +125,7 @@ static struct i2c_algorithm osif_algorithm = {
#define USB_OSIF_VENDOR_ID 0x1964
#define USB_OSIF_PRODUCT_ID 0x0001
-static struct usb_device_id osif_table[] = {
+static const struct usb_device_id osif_table[] = {
{ USB_DEVICE(USB_OSIF_VENDOR_ID, USB_OSIF_PRODUCT_ID) },
{ }
};