projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e999437
)
rk29: adc: fix error: incompatible type for argument 1 of spin_lock
author
黄涛
<huangtao@rock-chips.com>
Thu, 28 Jul 2011 07:20:41 +0000
(15:20 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 28 Jul 2011 07:53:24 +0000
(15:53 +0800)
drivers/adc/core.c
patch
|
blob
|
history
diff --git
a/drivers/adc/core.c
b/drivers/adc/core.c
index 0756c7ea4f80eb76070076104dc395d146e24854..eb7ddef884ac22a589b618594e449d2d344d98bf 100755
(executable)
--- a/
drivers/adc/core.c
+++ b/
drivers/adc/core.c
@@
-203,7
+203,7
@@
void adc_core_irq_handle(struct adc_host *adc)
{
struct adc_request *req;
int head, res;
- spin_lock(adc->lock);
+ spin_lock(
&
adc->lock);
head = adc->queue_head;
req = adc->queue[head];