diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2005-10-28 23:36:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-11-10 19:09:16 -0500 |
commit | f8eb1005a5bdb019d2a4ff3ef8d8e8015b22afcb (patch) | |
tree | 5a39a4c39001217546b79f81530fc847f65dbd1d /drivers/pci | |
parent | a5312e28c195f6118ba52fb8abe17cf2efc6a427 (diff) |
[PATCH] pci-driver: store_new_id() not inline
store_new_id() should not be (and cannot be) inline;
the function pointer is stored in a device_attribute table.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 94e68c54d273..efb88c10ed16 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -37,7 +37,7 @@ struct pci_dynid { | |||
37 | * Adds a new dynamic pci device ID to this driver, | 37 | * Adds a new dynamic pci device ID to this driver, |
38 | * and causes the driver to probe for all devices again. | 38 | * and causes the driver to probe for all devices again. |
39 | */ | 39 | */ |
40 | static inline ssize_t | 40 | static ssize_t |
41 | store_new_id(struct device_driver *driver, const char *buf, size_t count) | 41 | store_new_id(struct device_driver *driver, const char *buf, size_t count) |
42 | { | 42 | { |
43 | struct pci_dynid *dynid; | 43 | struct pci_dynid *dynid; |