projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5312e2
)
[PATCH] pci-driver: store_new_id() not inline
author
Randy Dunlap
<rdunlap@xenotime.net>
Sat, 29 Oct 2005 03:36:51 +0000
(20:36 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 11 Nov 2005 00:09:16 +0000
(16:09 -0800)
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>
drivers/pci/pci-driver.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pci-driver.c
b/drivers/pci/pci-driver.c
index 94e68c54d27397bf06c56b32d7539c927b8dcf41..efb88c10ed1615a2b1bbafc548e80911a5ddd488 100644
(file)
--- a/
drivers/pci/pci-driver.c
+++ b/
drivers/pci/pci-driver.c
@@
-37,7
+37,7
@@
struct pci_dynid {
* Adds a new dynamic pci device ID to this driver,
* and causes the driver to probe for all devices again.
*/
-static
inline
ssize_t
+static ssize_t
store_new_id(struct device_driver *driver, const char *buf, size_t count)
{
struct pci_dynid *dynid;