summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2005-10-29 05:36:51 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-11-11 01:09:16 +0100
commitf8eb1005a5bdb019d2a4ff3ef8d8e8015b22afcb (patch)
tree5a39a4c39001217546b79f81530fc847f65dbd1d
parent[PATCH] PCI: NCR 53c810 quirk (diff)
downloadlinux-f8eb1005a5bdb019d2a4ff3ef8d8e8015b22afcb.tar.xz
linux-f8eb1005a5bdb019d2a4ff3ef8d8e8015b22afcb.zip
[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>
-rw-r--r--drivers/pci/pci-driver.c2
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 {
* 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;