rk29: adc: fix error: incompatible type for argument 1 of spin_lock

This commit is contained in:
黄涛 2011-07-28 15:20:41 +08:00
parent e999437a29
commit 5aa311af03

View File

@ -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];