Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
69d9ab96
Commit
69d9ab96
authored
Sep 14, 2009
by
Dmitry Eremin-Solenikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wpan-phy: add a helper to put the wpan_phy device
Signed-off-by:
Dmitry Eremin-Solenikov
<
dbaryshkov@gmail.com
>
parent
6a2a2d6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
include/net/wpan-phy.h
include/net/wpan-phy.h
+6
-0
No files found.
include/net/wpan-phy.h
View file @
69d9ab96
...
...
@@ -56,6 +56,12 @@ static inline void *wpan_phy_priv(struct wpan_phy *phy)
}
struct
wpan_phy
*
wpan_phy_find
(
const
char
*
str
);
static
inline
void
wpan_phy_put
(
struct
wpan_phy
*
phy
)
{
put_device
(
&
phy
->
dev
);
}
static
inline
const
char
*
wpan_phy_name
(
struct
wpan_phy
*
phy
)
{
return
dev_name
(
&
phy
->
dev
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment