|
@@ -54,7 +54,7 @@ int pci_hotplug (struct device *dev, char **envp, int num_envp,
|
|
|
|
|
|
envp[i++] = scratch;
|
|
envp[i++] = scratch;
|
|
length += scnprintf (scratch, buffer_size - length,
|
|
length += scnprintf (scratch, buffer_size - length,
|
|
- "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x\n",
|
|
|
|
|
|
+ "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x",
|
|
pdev->vendor, pdev->device,
|
|
pdev->vendor, pdev->device,
|
|
pdev->subsystem_vendor, pdev->subsystem_device,
|
|
pdev->subsystem_vendor, pdev->subsystem_device,
|
|
(u8)(pdev->class >> 16), (u8)(pdev->class >> 8),
|
|
(u8)(pdev->class >> 16), (u8)(pdev->class >> 8),
|