isp1362-hcd.c (96e7d9158f5ae91accb9c81cca14bcd0c996c0cc) | isp1362-hcd.c (d9dda78bad879595d8c4220a067fc029d6484a16) |
---|---|
1/* 2 * ISP1362 HCD (Host Controller Driver) for USB. 3 * 4 * Copyright (C) 2005 Lothar Wassmann <LW@KARO-electronics.de> 5 * 6 * Derived from the SL811 HCD, rewritten for ISP116x. 7 * Copyright (C) 2005 Olav Kongas <ok@artecdesign.ee> 8 * --- 2161 unchanged lines hidden (view full) --- 2170 spin_unlock_irq(&isp1362_hcd->lock); 2171 seq_printf(s, "\n"); 2172 2173 return 0; 2174} 2175 2176static int proc_isp1362_open(struct inode *inode, struct file *file) 2177{ | 1/* 2 * ISP1362 HCD (Host Controller Driver) for USB. 3 * 4 * Copyright (C) 2005 Lothar Wassmann <LW@KARO-electronics.de> 5 * 6 * Derived from the SL811 HCD, rewritten for ISP116x. 7 * Copyright (C) 2005 Olav Kongas <ok@artecdesign.ee> 8 * --- 2161 unchanged lines hidden (view full) --- 2170 spin_unlock_irq(&isp1362_hcd->lock); 2171 seq_printf(s, "\n"); 2172 2173 return 0; 2174} 2175 2176static int proc_isp1362_open(struct inode *inode, struct file *file) 2177{ |
2178 return single_open(file, proc_isp1362_show, PDE(inode)->data); | 2178 return single_open(file, proc_isp1362_show, PDE_DATA(inode)); |
2179} 2180 2181static const struct file_operations proc_ops = { 2182 .open = proc_isp1362_open, 2183 .read = seq_read, 2184 .llseek = seq_lseek, 2185 .release = single_release, 2186}; --- 680 unchanged lines hidden --- | 2179} 2180 2181static const struct file_operations proc_ops = { 2182 .open = proc_isp1362_open, 2183 .read = seq_read, 2184 .llseek = seq_lseek, 2185 .release = single_release, 2186}; --- 680 unchanged lines hidden --- |