File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,8 @@ static inline void dev_sync_state(struct device *dev)
175
175
dev -> driver -> sync_state (dev );
176
176
}
177
177
178
- int driver_add_groups (struct device_driver * drv , const struct attribute_group * * groups );
179
- void driver_remove_groups (struct device_driver * drv , const struct attribute_group * * groups );
178
+ int driver_add_groups (const struct device_driver * drv , const struct attribute_group * * groups );
179
+ void driver_remove_groups (const struct device_driver * drv , const struct attribute_group * * groups );
180
180
void device_driver_detach (struct device * dev );
181
181
182
182
int devres_release_all (struct device * dev );
Original file line number Diff line number Diff line change @@ -199,13 +199,13 @@ void driver_remove_file(struct device_driver *drv,
199
199
}
200
200
EXPORT_SYMBOL_GPL (driver_remove_file );
201
201
202
- int driver_add_groups (struct device_driver * drv ,
202
+ int driver_add_groups (const struct device_driver * drv ,
203
203
const struct attribute_group * * groups )
204
204
{
205
205
return sysfs_create_groups (& drv -> p -> kobj , groups );
206
206
}
207
207
208
- void driver_remove_groups (struct device_driver * drv ,
208
+ void driver_remove_groups (const struct device_driver * drv ,
209
209
const struct attribute_group * * groups )
210
210
{
211
211
sysfs_remove_groups (& drv -> p -> kobj , groups );
You can’t perform that action at this time.
0 commit comments