summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/linux/device/driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/device/driver.h b/include/linux/device/driver.h
index bbc67ec513ed..c882daaef012 100644
--- a/include/linux/device/driver.h
+++ b/include/linux/device/driver.h
@@ -114,8 +114,8 @@ struct device_driver {
void (*shutdown) (struct device *dev);
int (*suspend) (struct device *dev, pm_message_t state);
int (*resume) (struct device *dev);
- const struct attribute_group **groups;
- const struct attribute_group **dev_groups;
+ const struct attribute_group *const *groups;
+ const struct attribute_group *const *dev_groups;
const struct dev_pm_ops *pm;
void (*coredump) (struct device *dev);