projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b79295
)
ubnt-ledbar: fix compilation error
author
Rosen Penev
<rosenp@gmail.com>
Tue, 8 Oct 2024 20:23:38 +0000
(13:23 -0700)
committer
Robert Marko
<robimarko@gmail.com>
Tue, 8 Oct 2024 20:24:54 +0000
(22:24 +0200)
Wrong variable name from copy/paste.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link:
https://github.com/openwrt/openwrt/pull/16640
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/kernel/ubnt-ledbar/src/leds-ubnt-ledbar.c
patch
|
blob
|
history
diff --git
a/package/kernel/ubnt-ledbar/src/leds-ubnt-ledbar.c
b/package/kernel/ubnt-ledbar/src/leds-ubnt-ledbar.c
index 9fb52b4b3a8c260293a7c36408538ec0db088b70..c36a74779c56cf91680e0d2542d80b75c6775614 100644
(file)
--- a/
package/kernel/ubnt-ledbar/src/leds-ubnt-ledbar.c
+++ b/
package/kernel/ubnt-ledbar/src/leds-ubnt-ledbar.c
@@
-185,7
+185,7
@@
static int ubnt_ledbar_probe(struct i2c_client *client)
ledbar->client = client;
- err = devm_mutex_init(&
ofdev
->dev, &ledbar->lock);
+ err = devm_mutex_init(&
client
->dev, &ledbar->lock);
if (err)
return err;