diff options
author | Ji Soo Shin <jisshin@google.com> | 2023-07-18 15:41:32 +0200 |
---|---|---|
committer | Will McVicker <willmcvicker@google.com> | 2023-11-02 15:30:15 -0700 |
commit | f917cff7cfa10d555cb698b39f1712583b7b9e23 (patch) | |
tree | 5fca0eb72b142e8c3074be4ca28f8f6c115e0f53 | |
parent | b15325ee1d35169f76c812385226c5f7a4fdd4e3 (diff) | |
download | trusty-android-gs-raviole-mainline.tar.gz |
trusty: class_create has changed in 6.4android-gs-raviole-mainline
Bug: 283465996
Bug: 289050788
Change-Id: I5fd8f3f60f0afa6dfbd9508af8b75bf380e35d2b
Signed-off-by: Will McVicker <willmcvicker@google.com>
-rw-r--r-- | drivers/trusty/trusty-ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/trusty/trusty-ipc.c b/drivers/trusty/trusty-ipc.c index 3a54663..d567ef6 100644 --- a/drivers/trusty/trusty-ipc.c +++ b/drivers/trusty/trusty-ipc.c @@ -2272,7 +2272,7 @@ static int __init tipc_init(void) } tipc_major = MAJOR(dev); - tipc_class = class_create(THIS_MODULE, KBUILD_MODNAME); + tipc_class = class_create(KBUILD_MODNAME); if (IS_ERR(tipc_class)) { ret = PTR_ERR(tipc_class); pr_err("%s: class_create failed: %d\n", __func__, ret); |