diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 15:05:20 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-26 18:05:17 -0700 |
commit | 3499116b915e260b275c167a471e0e05bbe3f1d6 (patch) | |
tree | c5e7a9da815204b34141411ba621b49d2859112e /drivers/ptp/ptp_private.h | |
parent | 5baa7503a7a0b8d65308ff3b2ab887bf343c65d3 (diff) | |
download | blackbird-op-linux-3499116b915e260b275c167a471e0e05bbe3f1d6.tar.gz blackbird-op-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); |