Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
04dbd450
Commit
04dbd450
authored
Apr 11, 2011
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nic/module.c: add a release method (that does nothing)
parent
5e9e873d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
module.c
nic/module.c
+7
-0
No files found.
nic/module.c
View file @
04dbd450
...
...
@@ -48,6 +48,12 @@ static struct resource wrn_resources[] = {
};
#undef __RES
static
void
wrn_release
(
struct
device
*
dev
)
{
/* nothing to do, but mandatory function */
pr_debug
(
"%s
\n
"
,
__func__
);
}
static
struct
platform_device
wrn_device
=
{
.
name
=
DRV_NAME
,
.
id
=
0
,
...
...
@@ -55,6 +61,7 @@ static struct platform_device wrn_device = {
.
num_resources
=
ARRAY_SIZE
(
wrn_resources
),
.
dev
=
{
.
platform_data
=
&
wrn_dev
,
.
release
=
&
wrn_release
,
/* dma_mask not used, as we make no DMA */
},
};
...
...
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