aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps/kapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pps/kapi.c')
-rw-r--r--drivers/pps/kapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pps/kapi.c b/drivers/pps/kapi.c
index f197e8ea185c..cdad4d95b20e 100644
--- a/drivers/pps/kapi.c
+++ b/drivers/pps/kapi.c
@@ -102,7 +102,7 @@ struct pps_device *pps_register_source(struct pps_source_info *info,
102 goto pps_register_source_exit; 102 goto pps_register_source_exit;
103 } 103 }
104 104
105 /* These initializations must be done before calling idr_get_new() 105 /* These initializations must be done before calling idr_alloc()
106 * in order to avoid reces into pps_event(). 106 * in order to avoid reces into pps_event().
107 */ 107 */
108 pps->params.api_version = PPS_API_VERS; 108 pps->params.api_version = PPS_API_VERS;