diff options
Diffstat (limited to 'drivers/s390/char/con3215.c')
-rw-r--r-- | drivers/s390/char/con3215.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/char/con3215.c b/drivers/s390/char/con3215.c index 6000bdee4082..0e1f35c9ed9d 100644 --- a/drivers/s390/char/con3215.c +++ b/drivers/s390/char/con3215.c | |||
@@ -667,6 +667,9 @@ raw3215_probe (struct ccw_device *cdev) | |||
667 | struct raw3215_info *raw; | 667 | struct raw3215_info *raw; |
668 | int line; | 668 | int line; |
669 | 669 | ||
670 | /* Console is special. */ | ||
671 | if (raw3215[0] && (cdev->dev.driver_data == raw3215[0])) | ||
672 | return 0; | ||
670 | raw = kmalloc(sizeof(struct raw3215_info) + | 673 | raw = kmalloc(sizeof(struct raw3215_info) + |
671 | RAW3215_INBUF_SIZE, GFP_KERNEL|GFP_DMA); | 674 | RAW3215_INBUF_SIZE, GFP_KERNEL|GFP_DMA); |
672 | if (raw == NULL) | 675 | if (raw == NULL) |