lkml.org 
[lkml]   [2005]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SysFS, module names and .name
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-03 13:04    [W:0.046 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site