diff options
Diffstat (limited to 'drivers/pci/pci-stub.c')
-rw-r--r-- | drivers/pci/pci-stub.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/pci/pci-stub.c b/drivers/pci/pci-stub.c index 886fb3570278..10d54f939048 100644 --- a/drivers/pci/pci-stub.c +++ b/drivers/pci/pci-stub.c | |||
@@ -1,11 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* pci-stub - simple stub driver to reserve a pci device | 2 | /* pci-stub - simple stub driver to reserve a pci device |
2 | * | 3 | * |
3 | * Copyright (C) 2008 Red Hat, Inc. | 4 | * Copyright (C) 2008 Red Hat, Inc. |
4 | * Author: | 5 | * Author: |
5 | * Chris Wright | 6 | * Chris Wright |
6 | * | 7 | * |
7 | * This work is licensed under the terms of the GNU GPL, version 2. | ||
8 | * | ||
9 | * Usage is simple, allocate a new id to the stub driver and bind the | 8 | * Usage is simple, allocate a new id to the stub driver and bind the |
10 | * device to it. For example: | 9 | * device to it. For example: |
11 | * | 10 | * |
@@ -28,7 +27,7 @@ MODULE_PARM_DESC(ids, "Initial PCI IDs to add to the stub driver, format is " | |||
28 | 27 | ||
29 | static int pci_stub_probe(struct pci_dev *dev, const struct pci_device_id *id) | 28 | static int pci_stub_probe(struct pci_dev *dev, const struct pci_device_id *id) |
30 | { | 29 | { |
31 | dev_info(&dev->dev, "claimed by stub\n"); | 30 | pci_info(dev, "claimed by stub\n"); |
32 | return 0; | 31 | return 0; |
33 | } | 32 | } |
34 | 33 | ||