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

Commit 74e52aa5 authored by Tony Luck's avatar Tony Luck
Browse files

Pull mbcs-init-sn-check into release branch

parents f5154a98 96f339c6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -830,6 +830,9 @@ static int __init mbcs_init(void)
{
	int rv;

	if (!ia64_platform_is("sn2"))
		return -ENODEV;

	// Put driver into chrdevs[].  Get major number.
	rv = register_chrdev(mbcs_major, DEVICE_NAME, &mbcs_ops);
	if (rv < 0) {