Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249242
b: refs/heads/master
c: 0724e5f
h: refs/heads/master
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Apr 26, 2011
1 parent 7c35fdb commit f77ac6b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a12c27c5eac8e0b1ee6988c32a29100abe1a99ef
refs/heads/master: 0724e5fd77b44338fb12af35f0577bd4142903e8
8 changes: 8 additions & 0 deletions trunk/drivers/staging/hv/storvsc_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <linux/kernel.h>
#include "vstorage.h"
#include "vmbus_api.h"
#include "vmbus.h"

/* Defines */
#define STORVSC_RING_BUFFER_SIZE (20*PAGE_SIZE)
Expand Down Expand Up @@ -153,6 +154,13 @@ static inline struct storvsc_driver_object *hvdr_to_stordr(struct hv_driver *d)
return container_of(d, struct storvsc_driver_object, base);
}

static inline
struct storvsc_driver_object *drv_to_stordrv(struct device_driver *d)
{
struct hv_driver *hvdrv = drv_to_hv_drv(d);
return hvdr_to_stordr(hvdrv);
}

/* Interface */

int stor_vsc_on_device_add(struct hv_device *device,
Expand Down

0 comments on commit f77ac6b

Please sign in to comment.