diff options
Diffstat (limited to 'drivers/isdn/gigaset/common.c')
-rw-r--r-- | drivers/isdn/gigaset/common.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isdn/gigaset/common.c b/drivers/isdn/gigaset/common.c index 2a56bf33a673..aca165d43aa0 100644 --- a/drivers/isdn/gigaset/common.c +++ b/drivers/isdn/gigaset/common.c | |||
@@ -1092,14 +1092,12 @@ EXPORT_SYMBOL_GPL(gigaset_freedriver); | |||
1092 | * minors Number of minors this driver can handle | 1092 | * minors Number of minors this driver can handle |
1093 | * procname Name of the driver | 1093 | * procname Name of the driver |
1094 | * devname Name of the device files (prefix without minor number) | 1094 | * devname Name of the device files (prefix without minor number) |
1095 | * devfsname Devfs name of the device files without %d | ||
1096 | * return value: | 1095 | * return value: |
1097 | * Pointer to the gigaset_driver structure on success, NULL on failure. | 1096 | * Pointer to the gigaset_driver structure on success, NULL on failure. |
1098 | */ | 1097 | */ |
1099 | struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors, | 1098 | struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors, |
1100 | const char *procname, | 1099 | const char *procname, |
1101 | const char *devname, | 1100 | const char *devname, |
1102 | const char *devfsname, | ||
1103 | const struct gigaset_ops *ops, | 1101 | const struct gigaset_ops *ops, |
1104 | struct module *owner) | 1102 | struct module *owner) |
1105 | { | 1103 | { |
@@ -1139,7 +1137,7 @@ struct gigaset_driver *gigaset_initdriver(unsigned minor, unsigned minors, | |||
1139 | drv->cs[i].minor_index = i; | 1137 | drv->cs[i].minor_index = i; |
1140 | } | 1138 | } |
1141 | 1139 | ||
1142 | gigaset_if_initdriver(drv, procname, devname, devfsname); | 1140 | gigaset_if_initdriver(drv, procname, devname); |
1143 | 1141 | ||
1144 | spin_lock_irqsave(&driver_lock, flags); | 1142 | spin_lock_irqsave(&driver_lock, flags); |
1145 | list_add(&drv->list, &drivers); | 1143 | list_add(&drv->list, &drivers); |