diff options
Diffstat (limited to 'drivers/ieee1394/raw1394.c')
-rw-r--r-- | drivers/ieee1394/raw1394.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ieee1394/raw1394.c b/drivers/ieee1394/raw1394.c index 4bdfff0a9191..bf7e761c12b1 100644 --- a/drivers/ieee1394/raw1394.c +++ b/drivers/ieee1394/raw1394.c | |||
@@ -3037,10 +3037,10 @@ static int __init init_raw1394(void) | |||
3037 | hpsb_register_highlevel(&raw1394_highlevel); | 3037 | hpsb_register_highlevel(&raw1394_highlevel); |
3038 | 3038 | ||
3039 | if (IS_ERR | 3039 | if (IS_ERR |
3040 | (device_create_drvdata( | 3040 | (device_create(hpsb_protocol_class, NULL, |
3041 | hpsb_protocol_class, NULL, | 3041 | MKDEV(IEEE1394_MAJOR, |
3042 | MKDEV(IEEE1394_MAJOR, IEEE1394_MINOR_BLOCK_RAW1394 * 16), | 3042 | IEEE1394_MINOR_BLOCK_RAW1394 * 16), |
3043 | NULL, RAW1394_DEVICE_NAME))) { | 3043 | NULL, RAW1394_DEVICE_NAME))) { |
3044 | ret = -EFAULT; | 3044 | ret = -EFAULT; |
3045 | goto out_unreg; | 3045 | goto out_unreg; |
3046 | } | 3046 | } |