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

Commit 74a622d6 authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

msm: ADSPRPC: Use module specific class name



Update the class name passed during class creation to match the module
rather than use a generic one. If another driver uses this same generic
name then the class creation would fail.

Change-Id: I33d7527e27c56fd943c93f823d99d244e2348319
Acked-by: default avatarSathish Ambley <sambley@qti.qualcomm.com>
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 7dd2af10
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1262,7 +1262,7 @@ static int __init fastrpc_device_init(void)
	VERIFY(err, 0 == cdev_add(&me->cdev, MKDEV(MAJOR(me->dev_no), 0), 1));
	VERIFY(err, 0 == cdev_add(&me->cdev, MKDEV(MAJOR(me->dev_no), 0), 1));
	if (err)
	if (err)
		goto cdev_init_bail;
		goto cdev_init_bail;
	me->class = class_create(THIS_MODULE, "chardrv");
	me->class = class_create(THIS_MODULE, "fastrpc");
	VERIFY(err, !IS_ERR(me->class));
	VERIFY(err, !IS_ERR(me->class));
	if (err)
	if (err)
		goto class_create_bail;
		goto class_create_bail;