summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill McVicker <willmcvicker@google.com>2024-04-15 15:42:48 -0700
committerWill McVicker <willmcvicker@google.com>2024-04-16 15:07:05 -0700
commit72d8e99507fbd4484daeb69898674ef040fe34a4 (patch)
tree31c216f4ea7fc213892edcf39b1fd78a57721360
parent239dac4f58e128248ad971ee518980b3e24e26c6 (diff)
downloadgchips-android14-gs-pixel-6.1.tar.gz
Revert "treewide: class_create() has changed in 6.4"android14-gs-pixel-6.1
This reverts commit 239dac4f58e128248ad971ee518980b3e24e26c6 since it's not compatible on v6.1. Bug: 335301050 Change-Id: Iddcc813adce0e9d5f7359c9b6246d2e374f1a61e Signed-off-by: Will McVicker <willmcvicker@google.com>
-rw-r--r--bigo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bigo.c b/bigo.c
index eadc4ac..817b9ca 100644
--- a/bigo.c
+++ b/bigo.c
@@ -538,7 +538,7 @@ static int init_chardev(struct bigo_core *core)
goto err_cdev_add;
}
- core->_class = class_create(BIGO_DEVCLASS_NAME);
+ core->_class = class_create(THIS_MODULE, BIGO_DEVCLASS_NAME);
if (IS_ERR(core->_class)) {
rc = PTR_ERR(core->_class);
goto err_class_create;