/* * u_ncm.h * * Utility definitions for the ncm function * * Copyright (c) 2013 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_NCM_H #define U_NCM_H #include struct f_ncm_opts { struct usb_function_instance func_inst; struct net_device *net; bool bound; /* * Read/write access to configfs attributes is handled by configfs. * * This is to protect the data from concurrent access by read/write * and create symlink/remove symlink. */ struct mutex lock; int refcnt; }; #endif /* U_NCM_H */
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
text:
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-09 11:02:40 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-09 11:02:40 -0800
commitaf9468db44989f995ec98c5cc63c99b16b78ee66 (patch)
tree2ca696601e8369eeeb32145f87fbaccccacf049d /include/net/irda/irda_device.h
parent1f6c926c0aa9180d42fcda53578881fc57f83a9a (diff)
parentc3f4688a08fd86f1bf8e055724c84b7a40a09733 (diff)
Merge tag 'ceph-for-4.9-rc9' of git://github.com/ceph/ceph-client
Pull ceph fix from Ilya Dryomov: "A fix for an issue with ->d_revalidate() in ceph, causing frequent kernel crashes. Marked for stable - it goes back to 4.6, but started popping up only in 4.8" * tag 'ceph-for-4.9-rc9' of git://github.com/ceph/ceph-client: ceph: don't set req->r_locked_dir in ceph_d_revalidate
Diffstat (limited to 'include/net/irda/irda_device.h')