aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r--drivers/s390/cio/device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c
index ceebf08e095b..0b30921ce60d 100644
--- a/drivers/s390/cio/device.c
+++ b/drivers/s390/cio/device.c
@@ -1012,7 +1012,7 @@ ccw_device_probe_console(void)
1012 int ret; 1012 int ret;
1013 1013
1014 if (xchg(&console_cdev_in_use, 1) != 0) 1014 if (xchg(&console_cdev_in_use, 1) != 0)
1015 return NULL; 1015 return ERR_PTR(-EBUSY);
1016 sch = cio_probe_console(); 1016 sch = cio_probe_console();
1017 if (IS_ERR(sch)) { 1017 if (IS_ERR(sch)) {
1018 console_cdev_in_use = 0; 1018 console_cdev_in_use = 0;