aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/octeon-usb/cvmx-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/octeon-usb/cvmx-usb.c')
-rw-r--r--drivers/staging/octeon-usb/cvmx-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/octeon-usb/cvmx-usb.c b/drivers/staging/octeon-usb/cvmx-usb.c
index d7b3c82b5ea..45dfe94199a 100644
--- a/drivers/staging/octeon-usb/cvmx-usb.c
+++ b/drivers/staging/octeon-usb/cvmx-usb.c
@@ -604,7 +604,7 @@ int cvmx_usb_initialize(struct cvmx_usb_state *state, int usb_port_number,
}
}
- memset(usb, 0, sizeof(usb));
+ memset(usb, 0, sizeof(*usb));
usb->init_flags = flags;
/* Initialize the USB state structure */