Wolfgang Grandegger wrote:
> Matthias Fuchs wrote:
>> Hi Jan,
>>
>> I think there's is little typo in rtcan_dev.h:
>>
>> Index: rtcan_dev.h
>> ===================================================================
>> --- rtcan_dev.h (revision 1564)
>> +++ rtcan_dev.h (working copy)
>> @@ -45,7 +45,7 @@
>>  
>>  /* Suppress handling of refcount if module support is not enabled
>>   * or modules cannot be unloaded */
>> -#if defined(CONFIG_MODULES) && !defined(CONFIG_MODULE_UNLOAD)
>> +#if defined(CONFIG_MODULES) && defined(CONFIG_MODULE_UNLOAD)
>>  #define RTCAN_USE_REFCOUNT
>>  #endif
>>
>>
>> This simple patch will allow unloading of modules.
> 
> Argh, I interpreted the meaning of CONFIG_MODULE_UNLOAD the other way
> round. But your fix will not work for 2.4, as there is no
> CONFIG_MODULE_UNLOAD. The attached one should be OK.
> 
> Thanks.
> 
> Wolfgang.
> 

Applied, thanks to both of you.

Jan


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to