mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
pktcdvd: Convert from class_device to device for block/pktcdvd
struct class_device is going away, this converts the code to use struct device instead. Signed-off-by: Tony Jones <tonyj@suse.de> Cc: Peter Osterlund <petero2@telia.com> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
aa27582614
commit
6013c12be8
2 changed files with 8 additions and 10 deletions
|
@ -290,7 +290,7 @@ struct pktcdvd_device
|
|||
int write_congestion_off;
|
||||
int write_congestion_on;
|
||||
|
||||
struct class_device *clsdev; /* sysfs pktcdvd[0-7] class dev */
|
||||
struct device *dev; /* sysfs pktcdvd[0-7] dev */
|
||||
struct pktcdvd_kobj *kobj_stat; /* sysfs pktcdvd[0-7]/stat/ */
|
||||
struct pktcdvd_kobj *kobj_wqueue; /* sysfs pktcdvd[0-7]/write_queue/ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue