diff options
Diffstat (limited to 'drivers/media/common/cypress_firmware.c')
-rw-r--r-- | drivers/media/common/cypress_firmware.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/cypress_firmware.c b/drivers/media/common/cypress_firmware.c index bfe47bc5f716..8895158c1962 100644 --- a/drivers/media/common/cypress_firmware.c +++ b/drivers/media/common/cypress_firmware.c | |||
@@ -74,7 +74,7 @@ int cypress_load_firmware(struct usb_device *udev, | |||
74 | struct hexline *hx; | 74 | struct hexline *hx; |
75 | int ret, pos = 0; | 75 | int ret, pos = 0; |
76 | 76 | ||
77 | hx = kmalloc(sizeof(struct hexline), GFP_KERNEL); | 77 | hx = kmalloc(sizeof(*hx), GFP_KERNEL); |
78 | if (!hx) | 78 | if (!hx) |
79 | return -ENOMEM; | 79 | return -ENOMEM; |
80 | 80 | ||