#include <linux/init.h>
#include <linux/list.h>
#include <linux/usb.h>
-#include <linux/usb/isp116x.h>
+#include <linux/usb_isp116x.h>
#include <linux/platform_device.h>
#include <asm/io.h>
if (ep->branch < PERIODIC_SIZE)
break;
- ep->branch = ret = balance(isp116x, ep->period, ep->load);
+ ret = ep->branch = balance(isp116x, ep->period, ep->load);
if (ret < 0)
goto fail;
ret = 0;
static int isp116x_open_seq(struct inode *inode, struct file *file)
{
- return single_open(file, isp116x_show_dbg, inode->i_private);
+ return single_open(file, isp116x_show_dbg, inode->u.generic_ip);
}
static struct file_operations isp116x_debug_fops = {
goto err6;
}
- ret = usb_add_hcd(hcd, irq, IRQF_DISABLED);
+ ret = usb_add_hcd(hcd, irq, SA_INTERRUPT);
if (ret)
goto err6;