[lkml]   [2005]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch 1/1] PCI: automatically set device_driver.owner
On Thu, 27 Oct 2005 23:12:54 +0200
Laurent riffard <> wrote:

> A nice feature of sysfs is that it can create the symlink from the
> driver to the module that is contained in it.
> It requires that the device_driver.owner is set, what is not the
> case for many PCI drivers.
> This patch allows pci_register_driver to set automatically the
> device_driver.owner for any PCI driver.
> Credits to Al Viro who suggested the method.
> Signed-off-by: Laurent Riffard <>
> --

Okay, but a little too much macro trickery for my taste.

Stephen Hemminger <>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-10-28 01:21    [W:0.035 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site