summaryrefslogtreecommitdiffstats
path: root/drivers/pps/generators/pps_gen_parport.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pps/generators/pps_gen_parport.c')
-rw-r--r--drivers/pps/generators/pps_gen_parport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pps/generators/pps_gen_parport.c b/drivers/pps/generators/pps_gen_parport.c
index 5c32f8dacf56..b93af3ebb5ba 100644
--- a/drivers/pps/generators/pps_gen_parport.c
+++ b/drivers/pps/generators/pps_gen_parport.c
@@ -198,7 +198,7 @@ static void parport_attach(struct parport *port)
}
device.pardev = parport_register_device(port, KBUILD_MODNAME,
- NULL, NULL, NULL, 0, &device);
+ NULL, NULL, NULL, PARPORT_FLAG_EXCL, &device);
if (!device.pardev) {
pr_err("couldn't register with %s\n", port->name);
return;