Re: SysFS, module names and .name

James Courtier-Dutton
2005-09-03T10:55:44Z

Greg KH wrote:
> On Sat, Sep 03, 2005 at 12:17:57AM +0200, iSteve wrote:
>
>>Yes, I am rather interested -- could you please provide details about
>>this method?
>
>
> For PCI drivers, just add the line:
> .owner = THIS_MODULE,
>
> to their struct pci_driver definition and you will get the symlink
> created for you.
>
> USB drivers already do this.
>
> Hope this helps,
>
> greg k-h
> -

I will add this to the alsa driver snd-emu10k1 and snd-ca0106.

James