aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 15:05:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-19 21:22:34 -0700
commitbd0eae4e1cd5c4ff7c2a9ebcb3e78ea4631251ef (patch)
treebb5da1ba47c15a60b7506479eec42d092e481825 /include/linux/pps_kernel.h
parentx86: wmi: convert class code to use dev_groups (diff)
downloadwireguard-linux-bd0eae4e1cd5c4ff7c2a9ebcb3e78ea4631251ef.tar.xz
wireguard-linux-bd0eae4e1cd5c4ff7c2a9ebcb3e78ea4631251ef.zip
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.h2
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 {
* Global variables
*/
-extern struct device_attribute pps_attrs[];
+extern const struct attribute_group *pps_groups[];
/*
* Internal functions.