mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-24 07:31:41 +00:00
PPS: convert class code to use dev_groups
The dev_attrs field of struct class is going away soon, dev_groups should be used instead. This converts the pps class code to use the correct field. Cc: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e80b89a5f1
commit
bd0eae4e1c
3 changed files with 37 additions and 22 deletions
|
@ -80,7 +80,7 @@ struct pps_device {
|
|||
* Global variables
|
||||
*/
|
||||
|
||||
extern struct device_attribute pps_attrs[];
|
||||
extern const struct attribute_group *pps_groups[];
|
||||
|
||||
/*
|
||||
* Internal functions.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue