diff options
Diffstat (limited to 'drivers/base/driver.c')
-rw-r--r-- | drivers/base/driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c index 8ae0f63602e0..ed2ebd3c287d 100644 --- a/drivers/base/driver.c +++ b/drivers/base/driver.c | |||
@@ -181,7 +181,7 @@ void put_driver(struct device_driver *drv) | |||
181 | EXPORT_SYMBOL_GPL(put_driver); | 181 | EXPORT_SYMBOL_GPL(put_driver); |
182 | 182 | ||
183 | static int driver_add_groups(struct device_driver *drv, | 183 | static int driver_add_groups(struct device_driver *drv, |
184 | struct attribute_group **groups) | 184 | const struct attribute_group **groups) |
185 | { | 185 | { |
186 | int error = 0; | 186 | int error = 0; |
187 | int i; | 187 | int i; |
@@ -201,7 +201,7 @@ static int driver_add_groups(struct device_driver *drv, | |||
201 | } | 201 | } |
202 | 202 | ||
203 | static void driver_remove_groups(struct device_driver *drv, | 203 | static void driver_remove_groups(struct device_driver *drv, |
204 | struct attribute_group **groups) | 204 | const struct attribute_group **groups) |
205 | { | 205 | { |
206 | int i; | 206 | int i; |
207 | 207 | ||