Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2e53801 authored by Cornelia Huck's avatar Cornelia Huck Committed by Martin Schwidefsky
Browse files

[S390] 3215: Handle special console device.



The early console device is special as it already has all needed data
set and raw3215[0] allocated from con3215_init(). Therefore, it needs
special treatment in the probe function so it can be matched with the
3215 driver which is already owning it.

Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent c41fbc69
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -667,6 +667,9 @@ raw3215_probe (struct ccw_device *cdev)
	struct raw3215_info *raw;
	int line;

	/* Console is special. */
	if (raw3215[0] && (cdev->dev.driver_data == raw3215[0]))
		return 0;
	raw = kmalloc(sizeof(struct raw3215_info) +
		      RAW3215_INBUF_SIZE, GFP_KERNEL|GFP_DMA);
	if (raw == NULL)