]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/misc/cypress_cy7c63.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
[linux-2.6-omap-h63xx.git] / drivers / usb / misc / cypress_cy7c63.c
index a4062a6adbb830f20c9539b063e69ae493d8c966..9c46746d5d002ab0881918e39ab363f71a4fb926 100644 (file)
@@ -208,7 +208,7 @@ static int cypress_probe(struct usb_interface *interface,
        /* allocate memory for our device state and initialize it */
        dev = kzalloc(sizeof(*dev), GFP_KERNEL);
        if (dev == NULL) {
-               dev_err(&dev->udev->dev, "Out of memory!\n");
+               dev_err(&interface->dev, "Out of memory!\n");
                goto error;
        }