ieee1394: video1394: reorder module init, prepare BKL removal
This prepares video1394 for removal of the BKL (big kernel lock): It allows video1394_open() to be called while video1394_init_module() is still in progress. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
@@ -1503,6 +1503,8 @@ static int __init video1394_init_module (void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
hpsb_init_highlevel(&video1394_highlevel);
|
||||
|
||||
cdev_init(&video1394_cdev, &video1394_fops);
|
||||
video1394_cdev.owner = THIS_MODULE;
|
||||
ret = cdev_add(&video1394_cdev, IEEE1394_VIDEO1394_DEV, 16);
|
||||
|
Reference in New Issue
Block a user