diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-driver.c | 1 | ||||
-rw-r--r-- | drivers/pci/pci.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 4438ae1ede4f..a3c1755b2f28 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -415,6 +415,7 @@ static struct kobj_type pci_driver_kobj_type = { | |||
415 | * __pci_register_driver - register a new pci driver | 415 | * __pci_register_driver - register a new pci driver |
416 | * @drv: the driver structure to register | 416 | * @drv: the driver structure to register |
417 | * @owner: owner module of drv | 417 | * @owner: owner module of drv |
418 | * @mod_name: module name string | ||
418 | * | 419 | * |
419 | * Adds the driver structure to the list of registered drivers. | 420 | * Adds the driver structure to the list of registered drivers. |
420 | * Returns a negative value on error, otherwise 0. | 421 | * Returns a negative value on error, otherwise 0. |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 8b44cff2c176..a7b869e24650 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -1300,7 +1300,7 @@ pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) | |||
1300 | 1300 | ||
1301 | /** | 1301 | /** |
1302 | * pci_select_bars - Make BAR mask from the type of resource | 1302 | * pci_select_bars - Make BAR mask from the type of resource |
1303 | * @pdev: the PCI device for which BAR mask is made | 1303 | * @dev: the PCI device for which BAR mask is made |
1304 | * @flags: resource type mask to be selected | 1304 | * @flags: resource type mask to be selected |
1305 | * | 1305 | * |
1306 | * This helper routine makes bar mask from the type of resource. | 1306 | * This helper routine makes bar mask from the type of resource. |