aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps/pps.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pps/pps.c')
-rw-r--r--drivers/pps/pps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pps/pps.c b/drivers/pps/pps.c
index 7173e3ad475d..2f07cd615665 100644
--- a/drivers/pps/pps.c
+++ b/drivers/pps/pps.c
@@ -406,7 +406,7 @@ static int __init pps_init(void)
406 pr_err("failed to allocate class\n"); 406 pr_err("failed to allocate class\n");
407 return PTR_ERR(pps_class); 407 return PTR_ERR(pps_class);
408 } 408 }
409 pps_class->dev_attrs = pps_attrs; 409 pps_class->dev_groups = pps_groups;
410 410
411 err = alloc_chrdev_region(&pps_devt, 0, PPS_MAX_SOURCES, "pps"); 411 err = alloc_chrdev_region(&pps_devt, 0, PPS_MAX_SOURCES, "pps");
412 if (err < 0) { 412 if (err < 0) {