staging: ft1000: rename struct ft1000_device to ft1000_usb
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / staging / ft1000 / ft1000-usb / ft1000_usb.c
index e97fbc9..1bf3792 100644 (file)
@@ -63,11 +63,11 @@ static int ft1000_probe(struct usb_interface *interface,
        unsigned numaltsetting;
        int i, ret = 0, size;
 
-       struct ft1000_device *ft1000dev;
+       struct ft1000_usb *ft1000dev;
        struct ft1000_info *pft1000info = NULL;
        const struct firmware *dsp_fw;
 
-       ft1000dev = kzalloc(sizeof(struct ft1000_device), GFP_KERNEL);
+       ft1000dev = kzalloc(sizeof(struct ft1000_usb), GFP_KERNEL);
 
        if (!ft1000dev) {
                pr_err("out of memory allocating device structure\n");
@@ -219,7 +219,7 @@ err_fw:
 static void ft1000_disconnect(struct usb_interface *interface)
 {
        struct ft1000_info *pft1000info;
-       struct ft1000_device *ft1000dev;
+       struct ft1000_usb *ft1000dev;
 
        DEBUG("ft1000_disconnect is called\n");