diff options
-rw-r--r-- | drivers/usb/misc/sisusbvga/sisusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index dd573abd2d1e..c21386ec5d35 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/misc/sisusbvga/sisusb.c | |||
@@ -3084,7 +3084,7 @@ static int sisusb_probe(struct usb_interface *intf, | |||
3084 | 3084 | ||
3085 | /* Allocate memory for our private */ | 3085 | /* Allocate memory for our private */ |
3086 | if (!(sisusb = kzalloc(sizeof(*sisusb), GFP_KERNEL))) { | 3086 | if (!(sisusb = kzalloc(sizeof(*sisusb), GFP_KERNEL))) { |
3087 | dev_err(&sisusb->sisusb_dev->dev, "Failed to allocate memory for private data\n"); | 3087 | dev_err(&dev->dev, "Failed to allocate memory for private data\n"); |
3088 | return -ENOMEM; | 3088 | return -ENOMEM; |
3089 | } | 3089 | } |
3090 | kref_init(&sisusb->kref); | 3090 | kref_init(&sisusb->kref); |