Re: [PATCH] iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/11/2012 07:56 AM, Lars-Peter Clausen wrote:
> On 07/11/2012 06:05 AM, Gerard Snitselaar wrote:
>> ad5064_init() calls ad5064_spi_unregister_driver() which is annotated
>> __exit.
>>
>> Signed-off-by: Gerard Snitselaar <dev@xxxxxxxxxxxxxx>
> 
> Thanks,
> 
> Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
merged to fixes-togreg and pull request sent.
> 
>> ---
>>  drivers/iio/dac/ad5064.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c
>> index aa739c4..6ec1319 100644
>> --- a/drivers/iio/dac/ad5064.c
>> +++ b/drivers/iio/dac/ad5064.c
>> @@ -582,7 +582,7 @@ static int __init ad5064_spi_register_driver(void)
>>  	return spi_register_driver(&ad5064_spi_driver);
>>  }
>>  
>> -static void __exit ad5064_spi_unregister_driver(void)
>> +static void ad5064_spi_unregister_driver(void)
>>  {
>>  	spi_unregister_driver(&ad5064_spi_driver);
>>  }
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux