fix build for 6.x kernels
This commit is contained in:
parent
806d91be53
commit
917884bf9f
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ static int keymash_init(void)
|
|||
goto err_cdev_add;
|
||||
}
|
||||
|
||||
keymash_class = class_create(THIS_MODULE, "kmsh");
|
||||
keymash_class = class_create("kmsh");
|
||||
if (IS_ERR(keymash_class)) {
|
||||
err = PTR_ERR(keymash_class);
|
||||
keymash_err("class_create() returned %d\n", err);
|
||||
|
|
Loading…
Reference in a new issue