diff options
Diffstat (limited to 'drivers/xen/xen-pciback/pci_stub.c')
-rw-r--r-- | drivers/xen/xen-pciback/pci_stub.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c index cd50d251998e..9204126f1560 100644 --- a/drivers/xen/xen-pciback/pci_stub.c +++ b/drivers/xen/xen-pciback/pci_stub.c | |||
@@ -272,8 +272,8 @@ void pcistub_put_pci_dev(struct pci_dev *dev) | |||
272 | up_write(&pcistub_sem); | 272 | up_write(&pcistub_sem); |
273 | } | 273 | } |
274 | 274 | ||
275 | static int __devinit pcistub_match_one(struct pci_dev *dev, | 275 | static int pcistub_match_one(struct pci_dev *dev, |
276 | struct pcistub_device_id *pdev_id) | 276 | struct pcistub_device_id *pdev_id) |
277 | { | 277 | { |
278 | /* Match the specified device by domain, bus, slot, func and also if | 278 | /* Match the specified device by domain, bus, slot, func and also if |
279 | * any of the device's parent bridges match. | 279 | * any of the device's parent bridges match. |
@@ -292,7 +292,7 @@ static int __devinit pcistub_match_one(struct pci_dev *dev, | |||
292 | return 0; | 292 | return 0; |
293 | } | 293 | } |
294 | 294 | ||
295 | static int __devinit pcistub_match(struct pci_dev *dev) | 295 | static int pcistub_match(struct pci_dev *dev) |
296 | { | 296 | { |
297 | struct pcistub_device_id *pdev_id; | 297 | struct pcistub_device_id *pdev_id; |
298 | unsigned long flags; | 298 | unsigned long flags; |
@@ -310,7 +310,7 @@ static int __devinit pcistub_match(struct pci_dev *dev) | |||
310 | return found; | 310 | return found; |
311 | } | 311 | } |
312 | 312 | ||
313 | static int __devinit pcistub_init_device(struct pci_dev *dev) | 313 | static int pcistub_init_device(struct pci_dev *dev) |
314 | { | 314 | { |
315 | struct xen_pcibk_dev_data *dev_data; | 315 | struct xen_pcibk_dev_data *dev_data; |
316 | int err = 0; | 316 | int err = 0; |
@@ -428,7 +428,7 @@ static int __init pcistub_init_devices_late(void) | |||
428 | return 0; | 428 | return 0; |
429 | } | 429 | } |
430 | 430 | ||
431 | static int __devinit pcistub_seize(struct pci_dev *dev) | 431 | static int pcistub_seize(struct pci_dev *dev) |
432 | { | 432 | { |
433 | struct pcistub_device *psdev; | 433 | struct pcistub_device *psdev; |
434 | unsigned long flags; | 434 | unsigned long flags; |
@@ -463,8 +463,7 @@ static int __devinit pcistub_seize(struct pci_dev *dev) | |||
463 | return err; | 463 | return err; |
464 | } | 464 | } |
465 | 465 | ||
466 | static int __devinit pcistub_probe(struct pci_dev *dev, | 466 | static int pcistub_probe(struct pci_dev *dev, const struct pci_device_id *id) |
467 | const struct pci_device_id *id) | ||
468 | { | 467 | { |
469 | int err = 0; | 468 | int err = 0; |
470 | 469 | ||