usb-skeleton.c (121e287cb554f3d3402c85a1950d852691b08f5c) usb-skeleton.c (066202dd48cf3296b6cc22b5fcf89aef33fa0efc)
1/*
2 * USB Skeleton driver - 2.1
3 *
4 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.

--- 229 unchanged lines hidden (view full) ---

238 }
239 mutex_unlock(&dev->io_mutex);
240 up(&dev->limit_sem);
241
242exit:
243 return retval;
244}
245
1/*
2 * USB Skeleton driver - 2.1
3 *
4 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.

--- 229 unchanged lines hidden (view full) ---

238 }
239 mutex_unlock(&dev->io_mutex);
240 up(&dev->limit_sem);
241
242exit:
243 return retval;
244}
245
246static struct file_operations skel_fops = {
246static const struct file_operations skel_fops = {
247 .owner = THIS_MODULE,
248 .read = skel_read,
249 .write = skel_write,
250 .open = skel_open,
251 .release = skel_release,
252};
253
254/*

--- 145 unchanged lines hidden ---
247 .owner = THIS_MODULE,
248 .read = skel_read,
249 .write = skel_write,
250 .open = skel_open,
251 .release = skel_release,
252};
253
254/*

--- 145 unchanged lines hidden ---