diff options
-rw-r--r-- | drivers/staging/hv/vmbus.c | 1 | ||||
-rw-r--r-- | drivers/staging/hv/vmbus_api.h | 3 | ||||
-rw-r--r-- | drivers/staging/hv/vmbus_drv.c | 5 |
3 files changed, 2 insertions, 7 deletions
diff --git a/drivers/staging/hv/vmbus.c b/drivers/staging/hv/vmbus.c index 6e13c1c976f1..ffdbd30e3ba5 100644 --- a/drivers/staging/hv/vmbus.c +++ b/drivers/staging/hv/vmbus.c | |||
@@ -262,7 +262,6 @@ int VmbusInitialize(struct hv_driver *drv) | |||
262 | driver->OnMsgDpc = VmbusOnMsgDPC; | 262 | driver->OnMsgDpc = VmbusOnMsgDPC; |
263 | driver->OnEventDpc = VmbusOnEventDPC; | 263 | driver->OnEventDpc = VmbusOnEventDPC; |
264 | driver->GetChannelOffers = VmbusGetChannelOffers; | 264 | driver->GetChannelOffers = VmbusGetChannelOffers; |
265 | driver->GetChannelInfo = get_channel_info; | ||
266 | 265 | ||
267 | /* Hypervisor initialization...setup hypercall page..etc */ | 266 | /* Hypervisor initialization...setup hypercall page..etc */ |
268 | ret = HvInit(); | 267 | ret = HvInit(); |
diff --git a/drivers/staging/hv/vmbus_api.h b/drivers/staging/hv/vmbus_api.h index 0f79216252de..fdd6c59a0efd 100644 --- a/drivers/staging/hv/vmbus_api.h +++ b/drivers/staging/hv/vmbus_api.h | |||
@@ -183,9 +183,6 @@ struct vmbus_driver { | |||
183 | void (*OnMsgDpc)(struct hv_driver *driver); | 183 | void (*OnMsgDpc)(struct hv_driver *driver); |
184 | void (*OnEventDpc)(struct hv_driver *driver); | 184 | void (*OnEventDpc)(struct hv_driver *driver); |
185 | void (*GetChannelOffers)(void); | 185 | void (*GetChannelOffers)(void); |
186 | |||
187 | void (*GetChannelInfo)(struct hv_device *dev, | ||
188 | struct hv_device_info *devinfo); | ||
189 | }; | 186 | }; |
190 | 187 | ||
191 | int VmbusInitialize(struct hv_driver *drv); | 188 | int VmbusInitialize(struct hv_driver *drv); |
diff --git a/drivers/staging/hv/vmbus_drv.c b/drivers/staging/hv/vmbus_drv.c index ad298871d3f3..68d95eb7f929 100644 --- a/drivers/staging/hv/vmbus_drv.c +++ b/drivers/staging/hv/vmbus_drv.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include "osd.h" | 32 | #include "osd.h" |
33 | #include "logging.h" | 33 | #include "logging.h" |
34 | #include "vmbus.h" | 34 | #include "vmbus.h" |
35 | #include "channel_interface.h" | ||
35 | 36 | ||
36 | 37 | ||
37 | /* FIXME! We need to do this dynamically for PIC and APIC system */ | 38 | /* FIXME! We need to do this dynamically for PIC and APIC system */ |
@@ -470,9 +471,7 @@ EXPORT_SYMBOL(vmbus_get_interface); | |||
470 | static void vmbus_child_device_get_info(struct hv_device *device_obj, | 471 | static void vmbus_child_device_get_info(struct hv_device *device_obj, |
471 | struct hv_device_info *device_info) | 472 | struct hv_device_info *device_info) |
472 | { | 473 | { |
473 | struct vmbus_driver *vmbus_drv_obj = &g_vmbus_drv.drv_obj; | 474 | get_channel_info(device_obj, device_info); |
474 | |||
475 | vmbus_drv_obj->GetChannelInfo(device_obj, device_info); | ||
476 | } | 475 | } |
477 | 476 | ||
478 | /* | 477 | /* |