aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ptp/ptp_private.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 18:05:20 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-26 21:05:17 -0400
commit3499116b915e260b275c167a471e0e05bbe3f1d6 (patch)
treec5e7a9da815204b34141411ba621b49d2859112e /drivers/ptp/ptp_private.h
parent5baa7503a7a0b8d65308ff3b2ab887bf343c65d3 (diff)
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.h2
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,
84 * see ptp_sysfs.c 84 * see ptp_sysfs.c
85 */ 85 */
86 86
87extern struct device_attribute ptp_dev_attrs[]; 87extern const struct attribute_group *ptp_groups[];
88 88
89int ptp_cleanup_sysfs(struct ptp_clock *ptp); 89int ptp_cleanup_sysfs(struct ptp_clock *ptp);
90 90