1
0
Fork 0
alistair23-linux/drivers/memstick
Hannes Reinecke fef912bf86 block: genhd: add 'groups' argument to device_add_disk
Update device_add_disk() to take an 'groups' argument so that
individual drivers can register a device with additional sysfs
attributes.
This avoids race condition the driver would otherwise have if these
groups were to be created with sysfs_add_groups().

Signed-off-by: Martin Wilck <martin.wilck@suse.com>
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-09-28 08:30:28 -06:00
..
core block: genhd: add 'groups' argument to device_add_disk 2018-09-28 08:30:28 -06:00
host misc: rtsx: Move Realtek Card Reader Driver to misc 2017-11-29 10:16:44 +00:00
Kconfig drivers/memstick: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:44 -08:00
Makefile memstick: change to new flag variable 2011-03-17 14:05:34 +01:00