|
@@ -1519,6 +1519,7 @@ static int ccw_device_console_enable(struct ccw_device *cdev,
|
|
|
sch->driver = &io_subchannel_driver;
|
|
|
/* Initialize the ccw_device structure. */
|
|
|
cdev->dev.parent= &sch->dev;
|
|
|
+ sch_set_cdev(sch, cdev);
|
|
|
io_subchannel_recog(cdev, sch);
|
|
|
/* Now wait for the async. recognition to come to an end. */
|
|
|
spin_lock_irq(cdev->ccwlock);
|