mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-11 00:08:50 +00:00
[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>
This commit is contained in:
parent
a5312e28c1
commit
f8eb1005a5
@ -37,7 +37,7 @@ struct pci_dynid {
|
|||||||
* Adds a new dynamic pci device ID to this driver,
|
* Adds a new dynamic pci device ID to this driver,
|
||||||
* and causes the driver to probe for all devices again.
|
* 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)
|
store_new_id(struct device_driver *driver, const char *buf, size_t count)
|
||||||
{
|
{
|
||||||
struct pci_dynid *dynid;
|
struct pci_dynid *dynid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user