diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 18:05:19 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-20 00:22:34 -0400 |
commit | bd0eae4e1cd5c4ff7c2a9ebcb3e78ea4631251ef (patch) | |
tree | bb5da1ba47c15a60b7506479eec42d092e481825 /include/linux/pps_kernel.h | |
parent | e80b89a5f1a4db0ce841f9baf2a192b37e8815e1 (diff) |
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>
Diffstat (limited to 'include/linux/pps_kernel.h')
-rw-r--r-- | include/linux/pps_kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pps_kernel.h b/include/linux/pps_kernel.h index 7db3eb93a079..1d2cd21242e8 100644 --- a/include/linux/pps_kernel.h +++ b/include/linux/pps_kernel.h | |||
@@ -80,7 +80,7 @@ struct pps_device { | |||
80 | * Global variables | 80 | * Global variables |
81 | */ | 81 | */ |
82 | 82 | ||
83 | extern struct device_attribute pps_attrs[]; | 83 | extern const struct attribute_group *pps_groups[]; |
84 | 84 | ||
85 | /* | 85 | /* |
86 | * Internal functions. | 86 | * Internal functions. |