The da903x_chip_ops structure is never modified, so declare it
as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
 struct da903x_chip {
        struct i2c_client       *client;
        struct device           *dev;
-       struct da903x_chip_ops  *ops;
+       const struct da903x_chip_ops *ops;
 
        int                     type;
        uint32_t                events_mask;
        return IRQ_HANDLED;
 }
 
-static struct da903x_chip_ops da903x_ops[] = {
+static const struct da903x_chip_ops da903x_ops[] = {
        [0] = {
                .init_chip      = da9030_init_chip,
                .unmask_events  = da9030_unmask_events,