mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
rk29: adc: fix error: incompatible type for argument 1 of spin_lock
This commit is contained in:
parent
e999437a29
commit
5aa311af03
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user