]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
[PATCH] pci-driver: store_new_id() not inline
authorRandy Dunlap <rdunlap@xenotime.net>
Sat, 29 Oct 2005 03:36:51 +0000 (20:36 -0700)
committerGreg 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

index 94e68c54d27397bf06c56b32d7539c927b8dcf41..efb88c10ed1615a2b1bbafc548e80911a5ddd488 100644 (file)
@@ -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;