diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-25 00:05:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-27 03:05:17 +0200 |
commit | 3499116b915e260b275c167a471e0e05bbe3f1d6 (patch) | |
tree | c5e7a9da815204b34141411ba621b49d2859112e /drivers/ptp/ptp_private.h | |
parent | leds: convert class code to use dev_groups (diff) | |
download | linux-3499116b915e260b275c167a471e0e05bbe3f1d6.tar.xz linux-3499116b915e260b275c167a471e0e05bbe3f1d6.zip |
PTP: 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 ptp class code to use the
correct field.
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ptp/ptp_private.h')
-rw-r--r-- | drivers/ptp/ptp_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ptp/ptp_private.h b/drivers/ptp/ptp_private.h index 69d32070cc65..df03f2e30ad9 100644 --- a/drivers/ptp/ptp_private.h +++ b/drivers/ptp/ptp_private.h @@ -84,7 +84,7 @@ uint ptp_poll(struct posix_clock *pc, * see ptp_sysfs.c */ -extern struct device_attribute ptp_dev_attrs[]; +extern const struct attribute_group *ptp_groups[]; int ptp_cleanup_sysfs(struct ptp_clock *ptp); |