diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/capi/capi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index 8a35029caca0..0dcfbfba9d35 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -1552,7 +1552,8 @@ static int __init capi_init(void) | |||
1552 | return PTR_ERR(capi_class); | 1552 | return PTR_ERR(capi_class); |
1553 | } | 1553 | } |
1554 | 1554 | ||
1555 | device_create(capi_class, NULL, MKDEV(capi_major, 0), "capi"); | 1555 | device_create_drvdata(capi_class, NULL, MKDEV(capi_major, 0), NULL, |
1556 | "capi"); | ||
1556 | 1557 | ||
1557 | #ifdef CONFIG_ISDN_CAPI_MIDDLEWARE | 1558 | #ifdef CONFIG_ISDN_CAPI_MIDDLEWARE |
1558 | if (capinc_tty_init() < 0) { | 1559 | if (capinc_tty_init() < 0) { |