[PATCH] staging: comedi: add NI USB-6501 initial support

Luca Ellero luca.ellero at brickedbrain.com
Wed Aug 6 09:50:54 UTC 2014


On 06/08/2014 11:29, Ian Abbott wrote:
> On 2014-08-06 09:49, Luca Ellero wrote:
>> A question only:
>> apart from renaming file from ni_6501.c to ni_usb6501.c, should I rename
>> functions/variables as well? For example:
>>
>> ni6501_auto_attach -> niusb6501_auto_attach
>> ni6501_private -> niusb6501_private
>
> It's okay to abbreviate the prefix, so ni6501, usb6501 or niusb6501
> would all be fine.  The main purpose of the prefix is to avoid name
> clashes with things declared in included header files etc., and to make
> it easier to spot things in symbol tables, Oops messages, etc.
>

Thank you Ian.
I'll stick to the actual names then.
Regards
Luca


-- 
Luca Ellero

E-mail: luca.ellero at brickedbrain.com
Internet: www.brickedbrain.com



More information about the devel mailing list