summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_PCIDeviceProvider.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware/LMI_PCIDeviceProvider.c')
-rw-r--r--src/hardware/LMI_PCIDeviceProvider.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hardware/LMI_PCIDeviceProvider.c b/src/hardware/LMI_PCIDeviceProvider.c
index 1a9eeca..c5f88d5 100644
--- a/src/hardware/LMI_PCIDeviceProvider.c
+++ b/src/hardware/LMI_PCIDeviceProvider.c
@@ -29,9 +29,9 @@ static const CMPIBroker* _cb = NULL;
struct pci_access *acc_dev = NULL;
-static void LMI_PCIDeviceInitialize()
+static void LMI_PCIDeviceInitialize(const CMPIContext *ctx)
{
- lmi_init(provider_name, _cb, provider_config_defaults);
+ lmi_init(provider_name, _cb, ctx, provider_config_defaults);
if (init_pci_access(&acc_dev, PCI_FILL_IDENT
| PCI_FILL_IRQ
@@ -324,7 +324,7 @@ CMInstanceMIStub(
LMI_PCIDevice,
LMI_PCIDevice,
_cb,
- LMI_PCIDeviceInitialize())
+ LMI_PCIDeviceInitialize(ctx))
static CMPIStatus LMI_PCIDeviceMethodCleanup(
CMPIMethodMI* mi,
@@ -351,7 +351,7 @@ CMMethodMIStub(
LMI_PCIDevice,
LMI_PCIDevice,
_cb,
- LMI_PCIDeviceInitialize())
+ LMI_PCIDeviceInitialize(ctx))
KUint32 LMI_PCIDevice_RequestStateChange(
const CMPIBroker* cb,