Commit f8eb1005 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman
Browse files

[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: default avatarRandy Dunlap <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent a5312e28
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment