Commit 8f04dd07 authored by Laurent Riffard's avatar Laurent Riffard Committed by Linus Torvalds
Browse files

[PATCH] epca: update .owner field of struct pci_driver

This updates .owner field of struct pci_driver.

This allows SYSFS to create the symlink from the driver to the module which
provides it.
Signed-off-by: default avatarLaurent Riffard <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1a66ddcb
...@@ -3113,6 +3113,7 @@ MODULE_DEVICE_TABLE(pci, epca_pci_tbl); ...@@ -3113,6 +3113,7 @@ MODULE_DEVICE_TABLE(pci, epca_pci_tbl);
int __init init_PCI (void) int __init init_PCI (void)
{ /* Begin init_PCI */ { /* Begin init_PCI */
memset (&epca_driver, 0, sizeof (epca_driver)); memset (&epca_driver, 0, sizeof (epca_driver));
epca_driver.owner = THIS_MODULE; = "epca"; = "epca";
epca_driver.id_table = epca_pci_tbl; epca_driver.id_table = epca_pci_tbl;
epca_driver.probe = epca_init_one; epca_driver.probe = epca_init_one;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment