/* * u_midi.h * * Utility definitions for the midi function * * Copyright (c) 2014 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Author: Andrzej Pietrasiewicz * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef U_MIDI_H #define U_MIDI_H #include struct f_midi_opts { struct usb_function_instance func_inst; int index; char *id; bool id_allocated; unsigned int in_ports; unsigned int out_ports; unsigned int buflen; unsigned int qlen; /* * Protect the data form concurrent access by read/write * and create symlink/remove symlink. */ struct mutex lock; int refcnt; }; #endif /* U_MIDI_H */ ass='form'>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-10-15 12:17:50 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-10-15 12:17:50 -0700
commit1001354ca34179f3db924eb66672442a173147dc (patch)
tree000de57080b6bece6d336bc8c9d377a59b8129c9 /net/rds/recv.c
parentdf34d04a6f09ba41037e58c3df6d6fbed0ffcde9 (diff)
Linux 4.9-rc1
Diffstat (limited to 'net/rds/recv.c')