// SPDX-License-Identifier: GPL-2.0 /* * u_printer.h * * Utility definitions for the printer function * * Copyright (c) 2015 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com> */ #ifndef U_PRINTER_H #define U_PRINTER_H #include <linux/usb/composite.h> struct f_printer_opts { struct usb_function_instance func_inst; int minor; char *pnp_string; bool pnp_string_allocated; unsigned q_len; /* * Protect the data from concurrent access by read/write * and create symlink/remove symlink */ struct mutex lock; int refcnt; }; #endif /* U_PRINTER_H */Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrzej Pietrasiewicz | 38 | 86.36% | 2 | 40.00% |
Krzysztof Opasiak | 4 | 9.09% | 1 | 20.00% |
Greg Kroah-Hartman | 2 | 4.55% | 2 | 40.00% |
Total | 44 | 100.00% | 5 | 100.00% |