diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-28 23:20:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:02:00 (GMT) |
commit | 9f0c7d2cc30a0691d478b069b499d6b1d01546a2 (patch) | |
tree | 7cad8d38238852f320e620c32d6981ed9dec2fb0 /drivers/staging/hv/storvsc_drv.c | |
parent | 9bcd786a311d7601f25a986e106d2bf774a22fdd (diff) | |
download | linux-fsl-qoriq-9f0c7d2cc30a0691d478b069b499d6b1d01546a2.tar.xz |
Staging: hv: fix typedefs in StorVscApi.h
It's all clean now.
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/storvsc_drv.c')
-rw-r--r-- | drivers/staging/hv/storvsc_drv.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c index a3d591d..155ba1d 100644 --- a/drivers/staging/hv/storvsc_drv.c +++ b/drivers/staging/hv/storvsc_drv.c @@ -72,7 +72,7 @@ struct storvsc_cmd_request { struct storvsc_driver_context { /* !! These must be the first 2 fields !! */ struct driver_context drv_ctx; - STORVSC_DRIVER_OBJECT drv_obj; + struct storvsc_driver_object drv_obj; }; /* Static decl */ @@ -133,7 +133,7 @@ Desc: StorVsc driver initialization. static int storvsc_drv_init(PFN_DRIVERINITIALIZE pfn_drv_init) { int ret=0; - STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_storvsc_drv.drv_obj; + struct storvsc_driver_object *storvsc_drv_obj = &g_storvsc_drv.drv_obj; struct driver_context *drv_ctx=&g_storvsc_drv.drv_ctx; DPRINT_ENTER(STORVSC_DRV); @@ -186,7 +186,7 @@ Desc: --*/ static void storvsc_drv_exit(void) { - STORVSC_DRIVER_OBJECT *storvsc_drv_obj=&g_storvsc_drv.drv_obj; + struct storvsc_driver_object *storvsc_drv_obj = &g_storvsc_drv.drv_obj; struct driver_context *drv_ctx=&g_storvsc_drv.drv_ctx; struct device *current_dev=NULL; int ret; @@ -236,14 +236,14 @@ static int storvsc_probe(struct device *device) struct driver_context *driver_ctx = driver_to_driver_context(device->driver); struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx; - STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; + struct storvsc_driver_object *storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; struct device_context *device_ctx = device_to_device_context(device); struct hv_device *device_obj = &device_ctx->device_obj; struct Scsi_Host *host; struct host_device_context *host_device_ctx; - STORVSC_DEVICE_INFO device_info; + struct storvsc_device_info device_info; DPRINT_ENTER(STORVSC_DRV); @@ -339,7 +339,7 @@ static int storvsc_remove(struct device *device) struct driver_context *driver_ctx = driver_to_driver_context(device->driver); struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx; - STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; + struct storvsc_driver_object *storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; struct device_context *device_ctx = device_to_device_context(device); struct hv_device *device_obj = &device_ctx->device_obj; @@ -665,7 +665,7 @@ static int storvsc_queuecommand(struct scsi_cmnd *scmnd, void (*done)(struct scs struct device_context *device_ctx=host_device_ctx->device_ctx; struct driver_context *driver_ctx = driver_to_driver_context(device_ctx->device.driver); struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx; - STORVSC_DRIVER_OBJECT* storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; + struct storvsc_driver_object *storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; struct hv_storvsc_request *request; struct storvsc_cmd_request *cmd_request; @@ -887,7 +887,7 @@ static int storvsc_host_reset_handler(struct scsi_cmnd *scmnd) struct driver_context *driver_ctx = driver_to_driver_context(device_ctx->device.driver); struct storvsc_driver_context *storvsc_drv_ctx = (struct storvsc_driver_context*)driver_ctx; - STORVSC_DRIVER_OBJECT *storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; + struct storvsc_driver_object *storvsc_drv_obj = &storvsc_drv_ctx->drv_obj; DPRINT_ENTER(STORVSC_DRV); |