mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-19 16:39:31 +01:00
Now that the SPDX tag is in all USB files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Oliver Neukum <[email protected]> Cc: Johan Hovold <[email protected]> Cc: Jerry Zhang <[email protected]> Cc: John Keeping <[email protected]> Cc: Krzysztof Opasiak <[email protected]> Cc: Abdulhadi Mohamed <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Janusz Dziedzic <[email protected]> Acked-by: Felipe Balbi <[email protected]> Acked-by: Michal Nazarewicz <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Acked-by: Vincent Pelletier <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
34 lines
652 B
C
34 lines
652 B
C
// 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 <[email protected]>
|
|
*/
|
|
|
|
#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 */
|